-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (36 loc) · 1.14 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
36
37
38
39
40
41
42
language: python
python:
- "3.5"
- "3.6"
install:
- 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
- conda info -a
- conda create -q -n forecastonishing_ci --file package-list.txt python=$TRAVIS_PYTHON_VERSION
- conda install -c conda-forge pathos
- source activate forecastonishing_ci
- pip install .
- pip install codecov
- export PYTHONPATH="." # No data is collected by `coverage` without this.
branches:
only:
- master
- develop
script:
- COVERAGE_FILE=.coverage_otf coverage run tests/on_the_fly_selection_tests.py
- COVERAGE_FILE=.coverage_sf coverage run tests/simple_forecasters_tests.py
- COVERAGE_FILE=.coverage_m coverage run tests/metrics_tests.py
- coverage combine .coverage_otf .coverage_sf .coverage_m
after_success:
- codecov
notifications:
email:
recipients:
- nikolay.lysenko.1992@gmail.com
on_success: never
on_failure: always