forked from GiulioRossetti/cdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (24 loc) · 873 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
dist: xenial
language: python
python:
- "3.6"
- "3.7"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
- sudo sh -c "echo 'deb [trusted=yes] http://downloads.skewed.de/apt/xenial xenial universe' >> /etc/apt/sources.list"
- sudo sh -c "echo 'deb-src [trusted=yes] http://downloads.skewed.de/apt/xenial xenial universe' >> /etc/apt/sources.list"
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7A80C8ED4FCCBE09
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install g++-4.9
- sudo apt-get install python3-graph-tool
install:
- CC=gcc-4.9 CXX=g++-4.9 python setup.py build_ext
- pip install .
- pip install -r requirements.txt
- pip install -r requirements_optional.txt
script:
- py.test --cov=./ --cov-config=.coveragerc
after_success:
- coveralls