forked from cigroup-ol/windml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (34 loc) · 1.53 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
language: python
python:
- "2.7"
- "3.5"
- "3.6"
install:
- sudo apt-get update
# You may want to periodically update this, although the conda update
# conda line below will keep everything up-to-date. We do this
# conditionally because it saves us some downloading if the version is
# the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- 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
# Replace dep1 dep2 ... with your dependencies
- conda create -q -n test-windml python=$TRAVIS_PYTHON_VERSION basemap=1.0.7 certifi=2016.2.28 cycler=0.10.0 freetype=2.5.5 geos=3.5.0 icu=54.1 jbig=2.1 jpeg libpng=1.6.30=1 libtiff=4.0.6=3 matplotlib=2.0.2 mkl=2017.0.3=0 numpy=1.13.1 olefile=0.44 openssl=1.0.2l=0 pillow=4.2.1 pip=9.0.1 pyparsing=2.2.0 pyqt=5.6.0 python-dateutil=2.6.1 pytz=2017.2 qt readline=6.2=2 scipy=0.19.1 setuptools=36.4.0 sip=4.18 six=1.10.0 sqlite=3.13.0=0 tk=8.5.18=0 wheel=0.29.0 xz=5.2.3 zlib=1.2.11=0
- source activate test-windml
- python setup.py install
script:
- python ./tests/preprocessing_test.py
- python ./tests/mapping_test.py
- python ./tests/nrel_test.py
branches:
only:
- setup-py3