diff options
-rw-r--r-- | .travis.yml | 16 | ||||
-rwxr-xr-x | .travis/before_install.sh | 3 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | requirements.txt | 1 |
4 files changed, 14 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index ec2b3d2..d146395 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,21 @@ language: python matrix: - allow_failures: - - os: osx +# allow_failures: +# - os: osx include: - - os: osx - language: generic +# - os: osx +# language: generic - os: linux sudo: required python: 3.4 - os: linux sudo: required + python: 3.5 + - os: linux + sudo: required + python: 3.6 + - os: linux + sudo: required python: 2.7 before_install: - ./.travis/before_install.sh @@ -26,5 +32,5 @@ install: script: - python setup.py develop - flake8 examples/ ot/ test/ - - python -m py.test -v test/ + - python -m pytest -v test/ # - py.test ot test diff --git a/.travis/before_install.sh b/.travis/before_install.sh index 60d1dcf..0ae6249 100755 --- a/.travis/before_install.sh +++ b/.travis/before_install.sh @@ -6,8 +6,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then # e.g. brew install pyenv-virtualenv #brew update #brew install python - echo do othing - + sudo easy_install -U pip else # Install some custom requirements on Linux @@ -44,7 +44,7 @@ test : FORCE pep8 $(PYTHON) -m pytest -v test/ --cov=ot --cov-report html:cov_html pytest : FORCE - $(PYTHON) -m py.test -v test/ --cov=ot + $(PYTHON) -m pytest -v test/ --cov=ot uploadpypi : #python setup.py register diff --git a/requirements.txt b/requirements.txt index 9bfca43..37d62cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ matplotlib sphinx-gallery autograd pymanopt +pytest |