Revision 4d6ae97454f4ee430be5a6ef5e1272bf95e64b9d authored by Tom Brown on 15 July 2020, 12:40:08 UTC, committed by Tom Brown on 15 July 2020, 12:40:08 UTC
Hyperlinked release notes can be found here:

https://pypsa.readthedocs.io/en/latest/release_notes.html#pypsa-0-17-1-15th-july-2020
1 parent d2c2843
Raw File
.travis.yml
# Modified from
# https://github.com/calliope-project/calliope/blob/master/.travis.yml

language: bash
sudo: false # Use container-based infrastructure

os:
  - windows
  - linux
  - osx
env:
  - PYTHON_VERSION="3.6"
  - PYTHON_VERSION="3.7"
  # - PYTHON_VERSION="3.8" # until gurobi in conda https://anaconda.org/Gurobi/gurobi/files?version=9.0.0

before_install:
  - wget https://raw.githubusercontent.com/trichter/conda4travis/latest/conda4travis.sh -O conda4travis.sh
  - source conda4travis.sh
  - if [ "$TRAVIS_OS_NAME" != "windows" ]; then echo "  - coincbc" >> environment.yaml; fi;

install:
  - conda config --add pinned_packages python=$PYTHON_VERSION
  - conda create -n pypsa python pip
  - conda env update -n pypsa --file=environment.yaml
  - conda env update -n pypsa --file=environment_dev.yaml
  - conda activate pypsa
  # - conda install -q -c conda-forge python-coveralls # don't install on appveyor
  - pip install --no-cache-dir .

# before_script:  # configure a headless display to test plot generation
#   - "export DISPLAY=:99.0"
#   - "sh -e /etc/init.d/xvfb start"
#   - sleep 3  # give xvfb some time to start

script:
    - py.test

# after_success:
#   - coveralls

back to top