-
Notifications
You must be signed in to change notification settings - Fork 77
/
.travis.yml
41 lines (40 loc) · 833 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
39
40
41
language: python
matrix:
include:
# works on Precise and Trusty
- os: linux
dist: trusty
python: "3.6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- CC=gcc-4.9
- CXX=g++-4.9"
# works on Precise and Trusty
- os: linux
dist: trusty
python: "2.7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- CC=gcc-4.9
- CXX=g++-4.9"
# command to install dependencies
before_install:
- eval "${MATRIX_EVAL}"
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- python setup.py install
# tests
script:
- cd tests
- python -m unittest discover -p '*.py'