summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2017-09-09 22:04:46 -0700
committerGitHub <noreply@github.com>2017-09-09 22:04:46 -0700
commitef82a6b15e1475eb587caf18d582b4d37ba20327 (patch)
tree1baf07e0a1ef2f08af000be260ee333d3275d05f /.travis.yml
parent9e2ad8435303e0cdf8c07a2bc09e74fbf94574ff (diff)
downloadnetworkx-ef82a6b15e1475eb587caf18d582b4d37ba20327.tar.gz
Test upstream prereleases (#2658)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 17 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 398ebf72..4b47c0a6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,20 @@ matrix:
python: 2.7
env:
- OPTIONAL_DEPS=1
+ - BUILD_DOCS=1
+ - DEPLOY_DOCS=1
+ addons:
+ apt:
+ packages:
+ - libgdal-dev
+ - graphviz
+ - texlive
+ - texlive-latex-extra
+ - latexmk
+ - os: linux
+ python: 2.7
+ env:
+ - OPTIONAL_DEPS=1
- MINIMUM_REQUIREMENTS=1
- REPORT_COVERAGE=1
addons:
@@ -26,16 +40,12 @@ matrix:
python: 2.7
env:
- OPTIONAL_DEPS=1
- - BUILD_DOCS=1
- - DEPLOY_DOCS=1
+ - PIP_FLAGS="--pre"
addons:
apt:
packages:
- libgdal-dev
- graphviz
- - texlive
- - texlive-latex-extra
- - latexmk
- os: linux
python: 3.6
env: OPTIONAL_DEPS=1
@@ -82,9 +92,9 @@ before_install:
install:
# install required packages
- pip install --upgrade pip
- - pip install --retries 3 -r requirements.txt
+ - pip install --retries 3 ${PIP_FLAGS} -r requirements.txt
- if [[ "${OPTIONAL_DEPS}" == 1 ]]; then
- pip install --retries 3 -r requirements/extras.txt;
+ pip install --retries 3 ${PIP_FLAGS} -r requirements/extras.txt;
fi
# install networkx
- printenv PWD