forked from cloudmesh/cloudmesh-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (41 loc) · 1.37 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
os:
- linux
# - windows
#
# On OSX we get currently the following error, so we outcomment buildo n osx for now
#
# - osx
#
# 3.7 is not installed; attempting download
# Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/osx/10.13/x86_64/python-3.7.tar.bz2
# 0.14s$ curl -sSf --retry 5 -o python-3.7.tar.bz2 ${archive_url}
# curl: (22) The requested URL returned error: 404
# Unable to download 3.7 archive. The archive may not exist. Please consider a different version.
arch: arm64
dist: bionic
sudo: required
language: python
python:
- "3.8.2"
install:
- pip install pip -U
- python --version
- pip --version
- pwd
- pip install -r requirements.txt
# - pip install -r requirements-dev.txt
- pip install .
# - mkdir ~/.cloudmesh
# - cp cloudmesh/etc/cloudmesh.yaml ~/.cloudmesh
script:
- pytest -v --capture=no tests/test_stopwatch.py
- pytest -v --capture=no tests/test_strdb.py
- pytest -v --capture=no tests/test_tables.py
- pytest -v --capture=no tests/test_flatdict.py
- pytest -v --capture=no tests/test_printer.py
- pytest -v --capture=no tests/test_shell.py
- pytest -v --capture=no tests/test_parameter.py
- pytest -v --capture=no tests/test_tables.py
- pytest -v --capture=no tests/test_tabulate.py
# remove the verbose test as it does not work in python 2.7
# - pytest -v tests/test_verbose.py