https://github.com/mackelab/delfi/
Revision 62a99a879145bdc675917fc33eed69293b964048 authored by jan-matthis on 02 July 2020, 14:59:00 UTC, committed by GitHub on 02 July 2020, 14:59:00 UTC
1 parent 1b6c383
Raw File
Tip revision: 62a99a879145bdc675917fc33eed69293b964048 authored by jan-matthis on 02 July 2020, 14:59:00 UTC
Update README.md
Tip revision: 62a99a8
.travis.yml
sudo: required
dist: xenial
services:
  - xvfb
language: python
matrix:
  include:
    - python: 3.7
notifications:
  email: false
addons:
  apt_packages:
    - pandoc
install:
  - sudo apt-get install libopenblas-dev
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - 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 testenv python=$TRAVIS_PYTHON_VERSION ipython numpy scipy pytest matplotlib mkl mkl-service sphinx
  - source activate testenv
  - export PATH=$HOME/.local/bin:$PATH
  - pip install pep8 pytest-pep8 python-coveralls pytest-cov==2.5.0
  - pip install mkdocs-material markdown-include
  - pip install nbconvert
  - pip install mknotebooks
  - pip install theano
  - echo -e "\n[blas]\nldflags = -lopenblas\n" >> ~/.theanorc
  - pip install -r requirements.txt
  - python setup.py install
  - eval $(ssh-agent -s)
script:
  - PYTHONPATH=$PWD:$PYTHONPATH travis_wait 30 pytest --cov=delfi;
after_success:
  - coveralls
  - git config user.name "jan-matthis"
  - git config user.email "mail@jan-matthis.de"
  - git remote add gh-token "https://${GH_TOKEN}@github.com/mackelab/delfi.git";
  - git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
  - cd docs && mkdocs gh-deploy -v --clean --remote-name gh-token;
back to top