Skip to content

Commit ec79b79

Browse files
authored
Merge pull request #46 from rflamary/build_macosx
Add Python 3.5 and 3.6 and remove macosx on travis
2 parents 27032b6 + cc98161 commit ec79b79

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
language: python
22
matrix:
3-
allow_failures:
4-
- os: osx
3+
# allow_failures:
4+
# - os: osx
55
include:
6-
- os: osx
7-
language: generic
6+
# - os: osx
7+
# language: generic
88
- os: linux
99
sudo: required
1010
python: 3.4
11+
- os: linux
12+
sudo: required
13+
python: 3.5
14+
- os: linux
15+
sudo: required
16+
python: 3.6
1117
- os: linux
1218
sudo: required
1319
python: 2.7
@@ -26,5 +32,5 @@ install:
2632
script:
2733
- python setup.py develop
2834
- flake8 examples/ ot/ test/
29-
- python -m py.test -v test/
35+
- python -m pytest -v test/
3036
# - py.test ot test

.travis/before_install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
66
# e.g. brew install pyenv-virtualenv
77
#brew update
88
#brew install python
9-
echo do othing
10-
9+
sudo easy_install -U pip
1110

1211
else
1312
# Install some custom requirements on Linux

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test : FORCE pep8
4444
$(PYTHON) -m pytest -v test/ --cov=ot --cov-report html:cov_html
4545

4646
pytest : FORCE
47-
$(PYTHON) -m py.test -v test/ --cov=ot
47+
$(PYTHON) -m pytest -v test/ --cov=ot
4848

4949
uploadpypi :
5050
#python setup.py register

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ matplotlib
55
sphinx-gallery
66
autograd
77
pymanopt
8+
pytest

0 commit comments

Comments
 (0)