xonsh/.travis.yml

45 lines
1.2 KiB
YAML
Raw Normal View History

language: python
2016-07-16 11:09:20 -07:00
matrix:
include:
- os: linux
2016-07-23 10:47:22 -04:00
language: generic
env: PYTHON="3.4" MINICONDA_OS="Linux"
2016-07-16 11:09:20 -07:00
- os: linux
2016-07-23 10:47:22 -04:00
language: generic
env: PYTHON="3.5" MINICONDA_OS="Linux"
2016-07-16 11:09:20 -07:00
- os: osx
2016-07-23 10:47:22 -04:00
language: generic
env: PYTHON="3.4" MINICONDA_OS="MacOSX"
- os: osx
2016-07-23 10:47:22 -04:00
language: generic
env: PYTHON="3.5" MINICONDA_OS="MacOSX"
# - os: linux
# python: "nightly"
2016-07-22 15:38:16 +02:00
2016-07-23 10:47:22 -04:00
before_install:
- if [[ ! "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
2016-07-23 10:47:22 -04:00
URL="https://repo.continuum.io/miniconda/Miniconda3-latest-${MINICONDA_OS}-x86_64.sh";
wget "${URL}" -O miniconda.sh;
2016-07-22 12:57:04 -04:00
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;
fi
2016-07-23 10:47:22 -04:00
install:
- conda install -y python=${PYTHON} pygments prompt_toolkit ply pytest pytest-cov pytest-timeout;
- pip install pytest-flake8 codecov;
- python setup.py install;
# else
# pip install --upgrade -r requirements-tests.txt;
# fi
2016-07-22 15:38:16 +02:00
script:
- py.test --flake8 --cov=. --cov-report=term --timeout=10
2016-07-22 15:38:16 +02:00
after_success:
- codecov