Skip to content

Commit

Permalink
Fix Travis CI build scripts to deploy correctly
Browse files Browse the repository at this point in the history
In order for build cache to work, both deploy and test stages have to
use the same env vars.
  • Loading branch information
ychin committed Oct 28, 2019
1 parent a4b3a5f commit ad80be7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -29,6 +29,8 @@ anchors:
- python
- ruby
update: true
- &lang_env
env: "LANGOPT='--enable-perlinterp=dynamic --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-luainterp=dynamic --with-lua-prefix=/usr/local'"
- &caches
cache:
directories:
Expand Down Expand Up @@ -84,14 +86,15 @@ script:
jobs:
include:
- osx_image: xcode11.2
env: "LANGOPT='--enable-perlinterp=dynamic --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-luainterp=dynamic --with-lua-prefix=/usr/local'"
<<: *lang_env
<<: *homebrew
<<: *caches
- osx_image: xcode10.3
- osx_image: xcode9.4
- osx_image: xcode7.3
- stage: deploy
osx_image: xcode11.2
<<: *lang_env
<<: *caches
script: skip
before_deploy:
Expand Down

0 comments on commit ad80be7

Please sign in to comment.