-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.travis.yml
40 lines (34 loc) · 1.16 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
language: python
sudo: required
dist: xenial
services:
- xvfb
notifications:
email: false
cache: pip
# remember to remove 3.8 related workarounds below once
# 3.8 is released and wheels are available. Also change 3.8-dev to 3.8
addons:
apt_packages:
- pandoc
- libhdf5-dev # remove once h5py is packaged for 3.8
- gcc # this can go once we have scipy wheels for 3.8
- gfortran # this can go once we have scipy wheels for 3.8
- python-dev # this can go once we have scipy wheels for 3.8
- libopenblas-dev # this can go once we have scipy wheels for 3.8
- liblapack-dev # this can go once we have scipy wheels for 3.8
python:
- "3.6"
- "3.7"
- "3.8"
# whitelist
install:
- pip install -r test_requirements.txt --upgrade --upgrade-strategy only-if-needed
- pip install git+https://github.com/QCoDeS/Qcodes.git
- pip install -e .
script:
- cd qdev_wrappers
- pytest tests/dataset/
- cd ..
# check that line endings are correct avoiding mixed windows/unix style line endings
- pylint --reports=n --disable=all --enable=mixed-line-endings,unexpected-line-ending-format --expected-line-ending-format=LF qdev-wrappers