From 3b7ac2fb02f1e62f2d153222e636a51d8f729b79 Mon Sep 17 00:00:00 2001 From: Josh Izaac Date: Mon, 29 Oct 2018 10:38:22 -0400 Subject: [PATCH] added readthedocs and travis config files --- .readthedocs.yml | 11 +++++++++++ .travis.yml | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .readthedocs.yml create mode 100644 .travis.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..3a0e513 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,11 @@ +requirements_file: doc/requirements.txt + +build: + image: latest + +python: + version: 3.5 + +# Don't build any extra formats +formats: + - none diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ad4678f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: python +cache: pip +python: + - 3.5 + - 3.6 +env: + - LOGGING=info +install: + - pip install -r requirements.txt + - pip install pytest pytest-cov wheel codecov + - python3 setup.py bdist_wheel + - pip install dist/PennyLane*.whl +script: + - make coverage +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=