-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
7,563 additions
and
5,573 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,26 +1,46 @@ | ||
language: generic | ||
language: python | ||
python: | ||
# We don't actually use the Travis Python, but this keeps it organized. | ||
- "3.5" | ||
- "3.6" | ||
|
||
notifications: | ||
email: false | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
sudo: required | ||
dist: trusty | ||
- os: linux | ||
sudo: required | ||
- os: osx | ||
osx_image: xcode7 | ||
|
||
install: | ||
- bash ./installation/installation_script.sh | ||
|
||
# install anaconda | ||
- sudo apt-get update | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
# Useful for debugging any issues with conda | ||
- conda info -a | ||
|
||
# create testing enviroment | ||
- conda config --add channels conda-forge | ||
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
numpy matplotlib pytables pandas gitpython pyqt=5 | ||
h5py scipy scikit-learn scikit-image seaborn xlrd | ||
cython statsmodels keras opencv | ||
- source activate test-environment | ||
- pip install tensorflow | ||
|
||
# install tierpsy | ||
- bash installation/installation_script.sh --setup_modules | ||
|
||
before_script: | ||
#add conda path to the system. For some reason it does not work if it is done in the installation script. | ||
- ls /home/travis/miniconda/bin | ||
- export PATH=/home/travis/miniconda/bin:$PATH | ||
#download examples | ||
- bash installation/installation_script.sh --download_examples | ||
|
||
script: | ||
- which python3 | ||
- python3 ./installation/installation_test.py #test installation libraries | ||
- python3 ./Tests/run_tests.py #run tests | ||
- python tests/run_tests.py 2 4 5 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.