1515 - COMPONENT=hyper-trace LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
1616 # - COMPONENT=rails-hyperstack LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
1717 # - COMPONENT=hyperstack-config LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
18- addons :
19- apt :
20- sources :
21- - sourceline : ' deb http://dl.yarnpkg.com/debian/ stable main'
22- key_url : ' http://dl.yarnpkg.com/debian/pubkey.gpg'
23- - sourceline : ' deb http://dl.google.com/linux/chrome/deb/ stable main'
24- key_url : ' https://dl-ssl.google.com/linux/linux_signing_key.pub'
25- packages :
26- - chromium-chromedriver
27- - google-chrome-stable
28- - yarn
29- mariadb : ' 10.3'
30- before_install :
31- - echo installing $COMPONENT
32- # yarn is in /usr/local/bin/yarn version 1.3.2 and is not a package
33- # must remove this zombie for new yarn to work
34- - sudo rm -f /usr/local/bin/yarn
35- - gem install bundler
36- - nvm install 10
37- - if [[ "$LANGUAGE" == "ruby" ]]; then rvm install $LANGUAGE_VERSION; fi
38- - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
39- before_script :
40- - echo before_script $COMPONENT
41- - cd $LANGUAGE/$COMPONENT
42- - if [[ "$LANGUAGE" == "ruby" ]]; then bundle install --jobs=3 --retry=3; fi
43- - if [[ "$LANGUAGE" == "ruby" ]]; then bundle exec rake spec:prepare; fi
44- - google-chrome --version
45- - which google-chrome
46- - yarn install
47- script :
48- - echo running script $COMPONENT
49- - if [[ "$LANGUAGE" == "ruby" ]]; then DRIVER=travis bundle exec rake; fi
5018_deploy_ruby_gem : &_deploy_ruby_gem
5119 stage : deploy
5220 before_script :
@@ -62,6 +30,38 @@ _deploy_ruby_gem: &_deploy_ruby_gem
6230jobs :
6331 include :
6432 - stage : test
33+ addons :
34+ apt :
35+ sources :
36+ - sourceline : ' deb http://dl.yarnpkg.com/debian/ stable main'
37+ key_url : ' http://dl.yarnpkg.com/debian/pubkey.gpg'
38+ - sourceline : ' deb http://dl.google.com/linux/chrome/deb/ stable main'
39+ key_url : ' https://dl-ssl.google.com/linux/linux_signing_key.pub'
40+ packages :
41+ - chromium-chromedriver
42+ - google-chrome-stable
43+ - yarn
44+ mariadb : ' 10.3'
45+ before_install :
46+ - echo installing $COMPONENT
47+ # yarn is in /usr/local/bin/yarn version 1.3.2 and is not a package
48+ # must remove this zombie for new yarn to work
49+ - sudo rm -f /usr/local/bin/yarn
50+ - gem install bundler
51+ - nvm install 10
52+ - if [[ "$LANGUAGE" == "ruby" ]]; then rvm install $LANGUAGE_VERSION; fi
53+ - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
54+ before_script :
55+ - echo before_script $COMPONENT
56+ - cd $LANGUAGE/$COMPONENT
57+ - if [[ "$LANGUAGE" == "ruby" ]]; then bundle install --jobs=3 --retry=3; fi
58+ - if [[ "$LANGUAGE" == "ruby" ]]; then bundle exec rake spec:prepare; fi
59+ - google-chrome --version
60+ - which google-chrome
61+ - yarn install
62+ script :
63+ - echo running script $COMPONENT
64+ - if [[ "$LANGUAGE" == "ruby" ]]; then DRIVER=travis bundle exec rake; fi
6565 - << : *_deploy_ruby_gem
6666 env :
6767 - COMPONENT=hyper-i18n
0 commit comments