-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
60 lines (50 loc) · 1.45 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
#
# @file .travis.yml
# @brief Travis CI configuration file for MOCCASIN
# @author Harold Gomez
# @author Michael Hucka
#
# This software is part of MOCCASIN, the Model ODE Converter for Creating
# Automated SBML INteroperability. Visit https://github.com/sbmlteam/moccasin/.
language: python
python:
- "3.5"
addons:
apt:
packages:
# These are all for wxPython 4
- libwebkitgtk-3.0-dev
- libjpeg-dev
- libtiff-dev
- libgtk2.0-dev
- libsdl1.2-dev
- libgstreamer-plugins-base0.10-dev
- freeglut3
- freeglut3-dev
- libnotify-dev
cache:
# Based on https://docs.travis-ci.com/user/caching/, the default is 3 min.
# Set it to 96 hrs because our libsbml dependency doesn't change quickly,
# but it does take a very long time to install that particular pip package.
timeout: 345600
pip: true
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
sudo: false
install:
- pip install -U pip wheel
- pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04 wxPython
- pip install --requirement=$TRAVIS_BUILD_DIR/requirements.txt
- pip install python-libsbml
- pip install coverage
- pip install coveralls
env:
- TEST_CASES=tests/converter_test
- TEST_CASES=tests/evaluate_test
- TEST_CASES=tests/syntax_test
script:
- coverage run setup.py test -t $TEST_CASES
after_success:
coveralls