forked from QuTech-Delft/OpenQL
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
60 lines (54 loc) · 1.41 KB
/
.travis.yml
File metadata and controls
60 lines (54 loc) · 1.41 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: shell
cache: pip
matrix:
include:
# - name: "Python 3.7 on macOS 10.14"
# os: osx
# osx_image: xcode11.3
# language: generic
# env:
# - export PATH="/usr/local/opt/flex/bin:$PATH"
# - export LDFLAGS="-L/usr/local/opt/flex/lib:$LDFLAGS"
# - export CPPFLAGS="-I/usr/local/opt/flex/include:$CPPFLAGS"
# - export PATH="/usr/local/opt/bison/bin:$PATH"
# - export LDFLAGS="-L/usr/local/opt/bison/lib:$LDFLAGS"
- name: "Python 3.7 on xenial"
os: linux
dist: xenial
language: python
python: 3.7
before_install:
- python3 -m pip install -U pip
- python3 -m pip install -U pytest
- python3 -m pip install -U qxelarator
- python3 --version
- pip3 --version
- while sleep 5m; do echo "=====[ $SECONDS seconds, OpenQL still building... ]====="; done &
install:
- cd deps
- git clone https://github.com/QE-Lab/eQASM_Assembler.git
- cd eQASM_Assembler/qisa-as
- python3 -m pip install .
- cd ../../../.
- git submodule update --init --recursive
- cd deps/libqasm
- python3 -m pip install .
- cd ../../.
- OPENQL_ENABLE_INITIAL_PLACEMENT=1 python3 -m pip install -v .
script: python3 -m pytest
addons:
apt:
packages:
- cmake
- swig
- flex
- bison
- libglpk-dev
homebrew:
packages:
- python3
- cmake
- swig
- flex
- bison
update: true