Skip to content

Commit b726c3b

Browse files
committed
[ci] added install piece caused to skip bundle install
1 parent 5f0357e commit b726c3b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ services:
66
addons:
77
postgresql: 9.4
88

9+
before_install:
10+
- unset _JAVA_OPTIONS
11+
- rvm @default,@global do gem uninstall bundler -a -x -I || true
12+
- gem install bundler -v "~>1.17.3"
913
install:
14+
- bundle install --retry 3 --without development
1015
# to fix this issue: https://travis-ci.community/t/mariadb-10-1-fails-to-install-on-xenial/3151/3
11-
- mysql -u root -e 'CREATE USER IF NOT EXISTS travis@localhost; GRANT ALL ON *.* TO travis@localhost;'
16+
- mysql -u root -e 'CREATE USER IF NOT EXISTS travis@localhost; GRANT ALL ON *.* TO travis@localhost;' || true
1217

1318
language: ruby
1419
rvm:
1520
- jruby-9.1.16.0
1621
jdk:
1722
- openjdk8
1823

19-
bundler_args: --without development
2024
script: bundle exec rake ${TEST_PREFIX}test_$DB
21-
before_install:
22-
- unset _JAVA_OPTIONS
23-
- rvm @default,@global do gem uninstall bundler -a -x -I || true
24-
- gem install bundler -v "~>1.17.3"
2525
before_script:
2626
- echo "JAVA_OPTS=$JAVA_OPTS"
2727
- export JRUBY_OPTS="-J-Xms64M -J-Xmx1024M"

0 commit comments

Comments
 (0)