https://github.com/vitay/ANNarchy
Raw File
Tip revision: 73ca3c140e924775991534a3a4e667e2226cde01 authored by Julien Vitay on 08 June 2019, 15:54:20 UTC
Finished version 4.6.8
Tip revision: 73ca3c1
.travis.yml
sudo: required
dist: xenial
language: python
python:
  - "2.7"
  - "3.6"
  - "3.7"
cache: apt
addons:
  apt:
    packages:
    - libatlas-dev
    - libatlas-base-dev
    - liblapack-dev
    - gfortran
before_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
  # Useful for debugging any issues with conda
  - conda info -a

install:
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose sympy cython matplotlib
  - source activate test-environment
  - python setup.py install
# command to run tests
script: python tests/test_openMP.py
# Branches to build
branches:
  only:
    - master
    - develop
back to top