Commit ebcee8630c5a0bca515ba33e9e518bfc11ce5e85
Committed by
Rafael Manzo
1 parent
f6f1b579
Exists in
colab
and in
4 other branches
Refactored .travis.yml file, changed install.sh URI
Clone Gist repository instead of downloading RAW files, using pushd/popd instead of cd and we don't need chmod when we just execute the script using bash. signed-off-by: Daniel Miranda <danielkza2@gmail.com>
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
.travis.yml
... | ... | @@ -5,18 +5,18 @@ rvm: |
5 | 5 | before_script: |
6 | 6 | - "cp config/database.yml.sample config/database.yml" |
7 | 7 | - "bundle exec rake db:migrate RAILS_ENV=test" |
8 | - - wget https://gist.github.com/rafamanzo/6179925/raw/77653bd6229e99d5251180a4488e2fa54d0cd4ac/db_bootstrap.sql | |
9 | - - wget https://gist.github.com/rafamanzo/6179925/raw/a38c3b33af3b1784eece46450cca65503337e4b5/install.sh | |
10 | - - chmod +x install.sh | |
11 | - - ./install.sh | |
8 | + - git clone https://gist.github.com/0c4ad3b5700c6364abf1.git kalibro_install | |
9 | + - pushd kalibro_install | |
10 | + - bash install.sh | |
11 | + - popd | |
12 | 12 | - cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml |
13 | 13 | - git clone https://github.com/mezuro/kalibro_gatekeeper.git |
14 | - - cd kalibro_gatekeeper | |
14 | + - pushd kalibro_gatekeeper | |
15 | 15 | - cp config/database.yml.sample config/database.yml |
16 | 16 | - export BUNDLE_GEMFILE=$PWD/Gemfile |
17 | 17 | - bundle install |
18 | 18 | - bundle exec rails s -p 8081 -d |
19 | - - cd .. | |
19 | + - popd | |
20 | 20 | - export BUNDLE_GEMFILE=$PWD/Gemfile |
21 | 21 | |
22 | 22 | script: | ... | ... |