forked from eitcom/pyEIT
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
72 lines (59 loc) · 1.12 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
sudo: false
language: python
os:
- linux
- osx
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
# install: "pip install -r requirements.txt"
# command to run tests
# script: nosetests
env:
# code analysis
- TASK=lint
# build analysis
- TASK=build
addons:
apt:
packages:
- doxygen
- wget
- git
- libcurl4-openssl-dev
- unzip
- libatlas-dev
- libopencv-dev
- gcc-4.8
- g++-4.8
- python-numpy
- python-nose
- python3-numpy
- python3-dev
- python3-nose
- graphviz
before_install:
- source scripts/travis/travis_setup_env.sh
- export PYTHONPATH=${PYTHONPATH}:${PWD}/python
install:
- source scripts/travis/setup.sh
script:
- scripts/travis/run_test.sh
cache:
directories:
- ${HOME}/.cache/usr
before_cache:
- scripts/travis/travis_before_cache.sh
after_failure:
- scripts/travis/travis_after_failure.sh
notifications:
email:
on_success: change
on_failure: always