-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
44 lines (36 loc) · 982 Bytes
/
.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
36
37
38
39
40
41
42
43
44
language: python
notifications:
email:
recipients:
on_success: always
on_failure: always
# sudo false implies containerized builds
sudo: false
python:
- 3.6
- 3.7
env:
global:
# List package dependencies for conda
- CONDA_DEPS="click joblib cython numpy"
# package name for test invocation
- PACKAGENAME="smaca"
before_install:
# Here we download miniconda and install the dependencies
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -f -p $MINICONDA
- conda config --set always_yes yes
- conda update conda
- conda info -a
- conda create -n $PACKAGENAME python=$TRAVIS_PYTHON_VERSION
- source activate $PACKAGENAME
- conda install $CONDA_DEPS
install:
- python setup.py install
script:
- python -m unittest discover