Commit 373433afd6e862005793807062c67e8c3fdfe275

Authored by Braulio Bhavamitra
1 parent 8c95ebeb

travis: move back to ruby 2.2 as 2.3 is unstable on travis

Showing 1 changed file with 5 additions and 4 deletions   Show diff stats
.travis.yml
... ... @@ -6,10 +6,11 @@ notifications:
6 6 template:
7 7 - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}"
8 8  
9   -dist: trusty
  9 +#dist: trusty
10 10 language: ruby
11 11 rvm:
12   - - 2.3.0
  12 + - 2.2
  13 + # ruby 2.3 works but isn't stable on travis
13 14  
14 15 addons:
15 16 apt:
... ... @@ -29,7 +30,7 @@ addons:
29 30  
30 31 # workaround for https://github.com/travis-ci/travis-ci/issues/4536
31 32 before_install:
32   - - export GEM_HOME=$PWD/vendor/bundle/ruby/2.3.0
  33 + - export GEM_HOME=$PWD/vendor/bundle/ruby/2.2.0
33 34 - gem install bundler
34 35 cache: bundler
35 36  
... ... @@ -40,7 +41,7 @@ before_script:
40 41 # database
41 42 - cp config/database.yml.travis config/database.yml
42 43 - psql -c 'create database myapp_test;' -U postgres
43   - - bundle exec rake db:schema:load &>/dev/null
  44 + - bundle exec rake db:schema:load
44 45 - bundle exec rake db:migrate &>/dev/null
45 46  
46 47 env:
... ...