From f937e661f2bb75bff575d2e8e137c2630230a80d Mon Sep 17 00:00:00 2001 From: Camille Scott Date: Thu, 8 Mar 2018 11:44:42 -0800 Subject: [PATCH] Swap to travis --- .travis.yml | 25 +++++++++++++++++++++++++ README.rst | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8895d56 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: python +sudo: required +dist: trusty +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" +install: + - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then + wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; + else + wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; + fi + - bash miniconda.sh -b -p $HOME/miniconda + - export PATH="$HOME/miniconda/bin:$PATH" + - hash -r + - conda config --set always_yes yes --set changeps1 no + - conda update -q conda + - conda info -a + - conda create -q -n test python=$TRAVIS_PYTHON_VERSION matplotlib pytest pytest-cov coverage pytest-runner + - source activate test + - python setup.py install +# command to run tests +script: make test diff --git a/README.rst b/README.rst index d9d23dd..28790fa 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,9 @@ ficus ===== -.. image:: https://drone.io/github.com/camillescott/ficus/status.png +.. image:: https://travis-ci.org/camillescott/ficus.svg?branch=master :align: right - :target: https://drone.io/github.com/camillescott/ficus/latest + :target: https://travis-ci.org/camillescott/ficus About -----