-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
38 lines (32 loc) · 989 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
language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/matplotlib
env:
- PRECEDENCE='default'
- PRECEDENCE='default bleeding'
python:
- 3.5
- 3.6
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- "export DISPLAY=:99.0"
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ~/mc
- export PATH=~/mc/bin:$PATH
- conda config --set always_yes yes --set changeps1 no --set quiet true
- conda config --add channels conda-forge
- conda update conda --yes
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION orch
- source activate testenv
- orch score.yaml
script:
- set -e
- coverage run run_tests.py
- coverage report -m
- codecov