Skip to content

Commit 16cc652

Browse files
authored
Use ci to compile and run tests?
1 parent b611d3d commit 16cc652

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: python
2+
python:
3+
- 3.6
4+
- 3.7
5+
- 3.8
6+
7+
os: linux
8+
addons:
9+
apt:
10+
sources:
11+
- ubuntu-toolchain-r-test
12+
packages:
13+
- gcc-8
14+
- g++-8
15+
16+
script:
17+
- export CC=gcc-8
18+
- export CXX=g++-8
19+
- python3 setup.py build_external
20+
- python3 setup.py install
21+
- python3 example.py --IDnumber=0
22+
- python3 example.py --IDnumber=1
23+
- python3 example.py --IDnumber=2
24+
- python3 example.py --IDnumber=3

0 commit comments

Comments
 (0)