forked from XanaduAI/strawberryfields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.36 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
language: python
cache: pip
python:
- 3.6
env:
global:
- COVERALLS_PARALLEL=true
- PURE=1
- BATCHED=0
- LOGGING=info
matrix:
include:
- env: OPTIONS="frontend or fock or gaussian or gbs"
- env: OPTIONS="tf and pure"
- env: OPTIONS="tf and mixed"
- env: BATCHED=1 OPTIONS="tf and pure"
- env: BATCHED=1 OPTIONS="tf and mixed"
install:
- pip install -r requirements.txt
- pip install wheel codecov pytest pytest-cov --upgrade
- python3 setup.py bdist_wheel
- pip install dist/StrawberryFields*.whl
script:
- python3 -m pytest tests --cov=strawberryfields -p no:warnings --tb=native -m "$OPTIONS"
after_success:
- codecov
notifications:
slack:
secure: FfvzFoLEPy+O1hkz+co7W/P2DAeGTqUYRTh7cA90wkhZNN+qHBXdhKzNOAZs4V462/AHHi13K95ltBCuW9nE6eJveZGQkPlLr9ojZtVKzIzNP2TgpnYRdAhogW1cmRdquPcPUXNBfs71DOPFTI2J8Kr1U3uZNkJ0HSURPlF05M11ESXPMzeMSNMjCAanFD+62+hsV8Jsx7vmLtiTCpMbatTgKYB/IE3nV2khILWMGcokxX5cSJ1/RRittLWMqLrmUPZnZ3f5G6YbkeV40Z//1/DK2/Mgw4ryZzZzCe3L4HQMxry5YeCJucnfGJmqJzRzB+JxNn0gRT4RX4SCJJBAa6BISwVvP89HFN5tkXGl8RYsKBJ0sdzbwQ0MFnS4rVoQP1IEAkx+TZ3fUzPZ68KDhspSxght6H+oRQCcaNFoHjh6xJSvAJQem6BQVyGErcjrmoxcPWmdNfiLs8lENcBSbN8fiZia8leCo5jzyl7dvBtlkRgvtx9pLSkevDLbPDMPVQokmXuVIG3psKCPZuAGAUTOP/FRYlZXCmXALsNAe7nuetXUSKL6P0YlA5PNPzstDEKe0LX50eiQV2olPPuLYed/Z6v7/VVIV4jgUXYVbnhbjY+g4pL1ikg58kbBY6afxXW4AGpvYoFEgdVmlBTvldlIXl84n3lH5hBHIVQiLiY=