-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (37 loc) · 2.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file was autogenerated and will overwrite each time you run travis_pypi_setup.py
after_success:
- coveralls
deploy:
true:
branch: master
python: 2.7
repo: ClimateImpactLab/impax
distributions: sdist bdist_wheel
password:
secure: NzX83HFZn/VLl1cdzIm5oS480Yr9R6Ms+6Z9ePnWoLljzQlQ7rwFob7Y9GQxMlXQCrC+Nof0mprrFJofulAbe/lFmCf2LGE/u+DO2igRhjxrY7g9VHQCw5wsPY2HZE9mtHX/L+ZH2aKp/neWuda4qxP/TVMzbxtUd6WGOhWrZTvAR1usP0JuXibd85k7Xiy1bB5XzfpvN8k1R8rP8quPU1wh88xBna9cZX78tvyxSuktc+lgPEfcfkJjvAd+F1OkNsFlHsa+YISzkULwWQqu/DQ8eJt/FnEKEw0YG5Fmww4M/l9ATwII0c1IuMmA1D8WJZN8rI1iOYYeyXvju8+ut4cnMn69ZpKUkf7OpudI1VgA8+0z0DAJAjagLZdqNrlDKBYGcAd8KH4+WbDulCOTldlhmg4FuHsnBdGhxLM0GNOjMzP3nqmXHoeCriYaNXMsGDw54GFGVQCkZef+3y5ixWKP4nrFsPdOjpkhjuUiDnHgSZCKfwXs6B85pKFclslnKUsRcOXyrQjIsZeb0CbjSDjmmzAlXaDWCiUttso6UllnCSymdstFEVkmENCd/yFGYuMdC/V/X5nQ4M6qxxWdeAZzFk4flqpGlIPVUuraCne+hVnWbTRlG4gATXlDtJzqcKJfIWCxVlmxqf4ME2cK1x4th2xbl7u6ae91pUXNB+s=
provider: pypi
user: justin_gerard
env:
matrix:
- TEST_ENV=tox
- TEST_ENV=conda
install:
- pip install --upgrade pip
- 'if [[ "$TEST_ENV" == "conda" ]]; then 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 config --add channels conda-forge; conda info -a;
conda create -q -n test-env python=$TRAVIS_PYTHON_VERSION; source activate test-env;
python setup.py install; python -m pip install -r requirements_dev.txt; conda install
--yes --file requirements_conda.txt; else pip install -U tox-travis; fi'
language: python
python:
- 3.5
- 3.6
- 2.7
script:
- if [[ "$TEST_ENV" == "conda" ]]; then export PATH=$HOME/miniconda/bin:$PATH; source
activate test-env; python -m pytest; sphinx-apidoc -o docs impax; sphinx-build -W
-b html -d docs/_build/doctrees docs/. docs/_build/html; else tox; fi;