File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11language : bash
2- cache :
3- bundler : true
4- directories :
5- - node_modules # NPM packages
62env :
73 - COMPONENT=hyper-component LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
84 # - COMPONENT=hyper-console LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
1915jobs :
2016 include :
2117 - stage : test
18+ cache :
19+ bundler : true
20+ directories :
21+ - node_modules # NPM packages
2222 addons :
2323 apt :
2424 sources :
3232 - yarn
3333 mariadb : ' 10.3'
3434 before_install :
35+ - echo installing $COMPONENT
3536 # yarn is in /usr/local/bin/yarn version 1.3.2 and is not a package
3637 # must remove this zombie for new yarn to work
3738 - sudo rm -f /usr/local/bin/yarn
@@ -40,13 +41,15 @@ jobs:
4041 - if [[ "$LANGUAGE" == "ruby" ]]; then rvm install $LANGUAGE_VERSION; fi
4142 - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
4243 before_script :
44+ - echo before_script $COMPONENT
4345 - cd $LANGUAGE/$COMPONENT
4446 - if [[ "$LANGUAGE" == "ruby" ]]; then bundle install --jobs=3 --retry=3; fi
4547 - if [[ "$LANGUAGE" == "ruby" ]]; then bundle exec rake spec:prepare; fi
4648 - google-chrome --version
4749 - which google-chrome
4850 - yarn install
4951 script :
52+ - echo running script $COMPONENT
5053 - if [[ "$LANGUAGE" == "ruby" ]]; then DRIVER=travis bundle exec rake; fi
5154 - stage : deploy
5255 before_script :
You can’t perform that action at this time.
0 commit comments