-
Notifications
You must be signed in to change notification settings - Fork 558
/
.travis.yml
53 lines (53 loc) · 1.85 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
41
42
43
44
45
46
47
48
49
50
51
52
53
sudo: false
language: python
cache: pip
matrix:
include:
- python: 3.8
dist: xenial
env:
- TF=0
- TORCH=1
- python: 3.7
dist: xenial
env:
- TF=1
- TORCH=1
- python: 3.6
dist: xenial
env:
- TF=2
- TORCH=1
- python: 3.8
dist: xenial
env:
- TF=0
- TORCH=0
- python: 3.7
dist: xenial
name: Qchem
install: qchem/install-dependencies.sh
script:
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- conda activate test-environment
- make -C qchem coverage
env:
global:
- COVERALLS_PARALLEL=true
- LOGGING=info
install:
- pip install -r requirements.txt
- pip install wheel pytest pytest-cov pytest-mock flaky absl-py --upgrade
- if [ "$TF" = "2" ]; then pip install tensorflow==2.2; fi
- if [ "$TF" = "1" ]; then pip install tensorflow==1.15; fi
- if [ "$TORCH" = "1" ]; then pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html; fi
- python3 setup.py bdist_wheel
- pip install dist/PennyLane*.whl
script:
- make coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
slack:
secure: de0sN7zGO8bRzsNf94L0KQrAARpyYHqkzyWAvfOO8uWwGbai2JE5gd62Qo0twpvx7SrXQiSmVWs8A2rKV8PBNTSMFH9csWENzaDN34oveu/faVB3R3zmlxuV5G3sAh5nUfNuy+H4cPuIa4zgDtHm8V7R/rkzxgj/R0QAGsfRJKvLzkoEjOYimuYGjgFFyi3md0S0AKUaNU90+KVgVJFt09+r443HmI6fdvT9b3MZJVREeCDcKUuiIrgeWtpIcfprNMBSrJQ4zr+xW1b2QtxTokXF/GXBrFL/uUp6UYTfxgit1mY9tDgoASddUEI3P0cCy51MebvxScfbZyWfuFufbTwHV+ExnEqJ0zZu6Oo3J5cZjfFGNMA9TTcAFtXC8+IQN5DGFbcczs34pKuacVAS+/+bnv8q5vJy7Wg0luokyZ4Y4na6KDoC2g12oC6hk0qt/gYV75H/Jslol56bAOhcsqwKbY/o9xxkzZMwhIXn8h0xCtIU8g8WJdIX3xkYVQhKr6RqqLaQ6Eqj/IccJIEALTZ7Q7KT9D/dZpCKR3uNap0jSyi9IzTn/wSu8ebjOa7xzV1DvNhx8TIRqynSb5n9aObIyGOQqdYCwUp+elEakLJJNYdfBl17sSIp7tiUSGqYDRhsP3vu8wbOasSXW9Qk7PukUWoSLgsVXS0C88lGYzw=
webhooks: https://coveralls.io/webhook