Skip to content

Commit 54064e4

Browse files
committed
Set defaults for INSTAL_DEST LSB_RELEASE and PACKAGES
in case the overrides in `env.global` don't set them
1 parent c4bc0df commit 54064e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,18 @@ env:
1515
global:
1616
- VERSION='3.6-dev'
1717
- ALIAS='nightly'
18-
- INSTALL_DEST=/opt/python
19-
- PACKAGES='pip numpy nose pytest mock wheel'
20-
- LSB_RELEASE="$(lsb_release -rs)"
2118

2219
install:
2320
- pushd /opt/pyenv/
2421
- sudo git checkout master
2522
- sudo git pull
2623
- popd
2724

25+
before_script:
26+
- ": ${INSTALL_DEST:=/opt/python}"
27+
- ": ${LSB_RELEASE:=$(lsb_release -rs)}"
28+
- ": ${PACKAGES:=pip numpy nose pytest mock wheel}"
29+
2830
script: ./build-python
2931

3032
after_success: ./create-archive

0 commit comments

Comments
 (0)