forked from qutech/qupulse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 814 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
language: python
python:
- 3.7
- 3.8
env:
- INSTALL_EXTRAS=[plotting,zurich-instruments,tektronix,tabor-instruments]
- INSTALL_EXTRAS=[plotting,zurich-instruments,tektronix,tabor-instruments,Faster-fractions,faster-sampling]
#use container based infrastructure
sudo: false
#these directories are persistent
cache: pip
# install dependencies for gmpy2
addons:
apt:
update: true
sources:
# newer compiler for zhinst
- ubuntu-toolchain-r-test
packages:
- libgmp-dev
- libmpfr-dev
- libmpc-dev
before_install:
- eval "CC=gcc-8 && GXX=g++-8"
- pip install coverage coveralls
install:
- pip install .$INSTALL_EXTRAS
script:
- "coverage run --source=qupulse --rcfile=coverage.ini setup.py test"
after_success:
- coveralls
notifications:
email: false