Skip to content

Commit 47fd462

Browse files
committed
fixing travis
1 parent 0ca6d5c commit 47fd462

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
language: bash
2-
cache:
3-
bundler: true
4-
directories:
5-
- node_modules # NPM packages
62
env:
73
- COMPONENT=hyper-component LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
84
#- COMPONENT=hyper-console LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
@@ -19,6 +15,10 @@ env:
1915
jobs:
2016
include:
2117
- stage: test
18+
cache:
19+
bundler: true
20+
directories:
21+
- node_modules # NPM packages
2222
addons:
2323
apt:
2424
sources:
@@ -32,6 +32,7 @@ jobs:
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:

0 commit comments

Comments
 (0)