-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from stephenhky/py3test
Py3test
- Loading branch information
Showing
7 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
sudo: true | ||
dist: trusty | ||
sudo: required | ||
language: python | ||
python: | ||
- "2.7" | ||
before_install: | ||
- wget 'http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh' -O miniconda.sh | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b | ||
- export PATH=/home/travis/miniconda2/bin:$PATH | ||
- conda update --yes conda | ||
- sudo apt-get update | ||
- "3.5" | ||
- "3.5-dev" # 3.5 development branch | ||
- "3.6" | ||
- "3.6-dev" # 3.6 development branch | ||
# - "3.7-dev" # 3.7 development branch # failing at 3.7-dev | ||
# command to install dependencies | ||
install: | ||
- sudo apt-get install libc6 | ||
- sudo apt-get install gfortran | ||
install: | ||
- conda create --yes -n graphflow-test python=$TRAVIS_PYTHON_VERSION pip numpy scipy | ||
- source activate graphflow-test | ||
- pip install -U pandas | ||
- pip install -U . | ||
# command to run tests | ||
script: | ||
- python setup.py test | ||
- pytest # or py.test for Python versions 3.5 and below |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters