-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (29 loc) · 907 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
sudo: true
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/mc
- export PATH=/home/travis/mc/bin:$PATH
install:
- conda config --set always_yes true
- conda update conda
- conda create -q --name testenv python=$TRAVIS_PYTHON_VERSION
- conda install -n testenv pytest pytest-cov
- conda install -n testenv coveralls
# For any new dependancies, add a line based on the following:
# conda install -n testenv (NAME_OF_DEPENDANCY)
- source activate testenv
script:
- pytest --cov-report term-missing --cov=./DataChallenge -v
after_success:
- coveralls
notifications:
slack: cosc377:2buGMnoBZ1ZzKrUXmjNQyhpW
on_success: change
on_failure: always