Skip to content

Commit

Permalink
Swap to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
camillescott committed Mar 8, 2018
1 parent 50a31e0 commit f937e66
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
-----
Expand Down

0 comments on commit f937e66

Please sign in to comment.