From 98a14a324ba1bacffc6da4d3a776a39ac2263293 Mon Sep 17 00:00:00 2001 From: Josh Izaac Date: Sat, 14 Apr 2018 02:59:28 +0930 Subject: [PATCH] Merge fixes to travis-ci matrix builds (#4) * made bug fixes to build matrix * added slack key * fixed indentation --- .travis.yml | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index f286115ef..101b770cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,41 +2,32 @@ sudo: false language: python cache: pip python: - - "3.5" + - 3.5 env: global: - COVERALLS_PARALLEL=true - MIXED=0 - BATCHED=0 - matrix: - include: - - python: 3.5 - env: BACKEND=gaussian - - python: 3.5 - env: BACKEND=gaussian MIXED=1 - - python: 3.5 - env: BACKEND=fock - - python: 3.5 - env: BACKEND=fock MIXED=1 - - python: 3.5 - env: BACKEND=tf - - python: 3.5 - env: BACKEND=tf MIXED=1 - - python: 3.5 - env: BACKEND=tf BATCHED=1 - - python: 3.5 - env: BACKEND=tf MIXED=1 BATCHED=1 - sudo: required -# command to install dependencies +matrix: + include: + - env: BACKEND=gaussian + - env: BACKEND=gaussian MIXED=1 + - env: BACKEND=fock + - env: BACKEND=fock MIXED=1 + - env: BACKEND=tf + - env: BACKEND=tf MIXED=1 + - env: BACKEND=tf BATCHED=1 + - env: BACKEND=tf MIXED=1 BATCHED=1 + sudo: required install: - pip install -r requirements.txt - pip install wheel codecov - python3 setup.py bdist_wheel - pip install dist/StrawberryFields*.whl -# command to run tests script: - coverage3 run -m unittest discover tests after_success: - codecov -F $BACKEND,m$MIXED,b$BATCHED notifications: - slack: xanaduhq:IjuNiD7j36slp7NqRdWuQq1O + slack: + secure: FfvzFoLEPy+O1hkz+co7W/P2DAeGTqUYRTh7cA90wkhZNN+qHBXdhKzNOAZs4V462/AHHi13K95ltBCuW9nE6eJveZGQkPlLr9ojZtVKzIzNP2TgpnYRdAhogW1cmRdquPcPUXNBfs71DOPFTI2J8Kr1U3uZNkJ0HSURPlF05M11ESXPMzeMSNMjCAanFD+62+hsV8Jsx7vmLtiTCpMbatTgKYB/IE3nV2khILWMGcokxX5cSJ1/RRittLWMqLrmUPZnZ3f5G6YbkeV40Z//1/DK2/Mgw4ryZzZzCe3L4HQMxry5YeCJucnfGJmqJzRzB+JxNn0gRT4RX4SCJJBAa6BISwVvP89HFN5tkXGl8RYsKBJ0sdzbwQ0MFnS4rVoQP1IEAkx+TZ3fUzPZ68KDhspSxght6H+oRQCcaNFoHjh6xJSvAJQem6BQVyGErcjrmoxcPWmdNfiLs8lENcBSbN8fiZia8leCo5jzyl7dvBtlkRgvtx9pLSkevDLbPDMPVQokmXuVIG3psKCPZuAGAUTOP/FRYlZXCmXALsNAe7nuetXUSKL6P0YlA5PNPzstDEKe0LX50eiQV2olPPuLYed/Z6v7/VVIV4jgUXYVbnhbjY+g4pL1ikg58kbBY6afxXW4AGpvYoFEgdVmlBTvldlIXl84n3lH5hBHIVQiLiY=