From 75344bf9cf277709c66b27e998e2100cb6b2d4c3 Mon Sep 17 00:00:00 2001 From: Jeffrey Gill Date: Tue, 23 Jul 2019 11:26:10 -0400 Subject: [PATCH] Add failable Travis job for testing dev versions of important packages Closes #88 --- .travis.yml | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index f68d036..e42b4e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,35 @@ python: - "3.7" matrix: - include: - - name: Sphinx docs - python: "3.7" - env: JOB_REQS="requirements-docs.txt" - script: - - cd docs - - make html - after_success: + include: + - name: Sphinx docs + python: "3.7" + env: JOB_REQS="requirements-docs.txt" + script: + - cd docs + - make html + after_success: skip + + - name: Future + python: "3.7" + before_script: + # install dev versions of important packages + - pip install -U \ + git+https://github.com/NeuralEnsemble/python-neo.git \ + git+https://github.com/NeuralEnsemble/elephant.git \ + git+https://github.com/NeuralEnsemble/ephyviewer.git + + # list versions + - python --version + - python -c "import os, sys; assert sys.version_info[:2] == tuple(map(int, os.environ['TRAVIS_PYTHON_VERSION'].split('.')))[:2]" + - pip -V + - pip list + - conda list + + allow_failures: + - name: Future + + fast_finish: true env: JOB_REQS="requirements-tests.txt"