diff --git a/.travis.yml b/.travis.yml index 1ea54e202..25bd15cd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,27 @@ --- language: ruby rvm: - - 1.9.3 +- 1.9.3 script: - bundle exec rake db:migrate --trace - bundle exec rspec spec/ - after_success: - - if [[ "$TRAVIS_BRANCH" == "dev" ]]; then git remote add heroku git@heroku.com:growstuff-dev.git - - wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh - - echo "Host heroku.com" >> ~/.ssh/config - - echo " StrictHostKeyChecking no" >> ~/.ssh/config - - echo " CheckHostIP no" >> ~/.ssh/config - - echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config - - heroku keys:clear - - yes | heroku keys:add - - yes | git push heroku dev:master - - yes | heroku run rake db:migrate - - yes | heroku restart - - fi - +- if [[ "$TRAVIS_BRANCH" == "dev" ]]; then git remote add heroku git@heroku.com:growstuff-dev.git +- wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh +- echo "Host heroku.com" >> ~/.ssh/config +- echo " StrictHostKeyChecking no" >> ~/.ssh/config +- echo " CheckHostIP no" >> ~/.ssh/config +- echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config +- heroku keys:clear +- yes | heroku keys:add +- yes | git push heroku dev:master +- yes | heroku run rake db:migrate +- yes | heroku restart +- fi env: global: - - secure: ! 'LihQ5mCdGmQr9hXeh0yGO0YQH8fgpQ6govovNI2lPzchLD79R0T/m8UgcDmP + - secure: ! 'arc+bJUPRjyUVcAo0QPEJFXdJJDnyccPhSfGtD8rpg6rg9stqgFYfspTvMz6 - R+/rlOoZtxxaBt+kO5ueWUTa7+PF2a9Yy3N+WozrxHL1sW0NXY6X82ZERwxA + 9hW8mf8z5HU69x2PBSARy4mZDIPfPfX87HQUkLIWmxtpwDRTFSEJQADAI8Ea - ekXwH2PqCWqR5x2+dOgvz2B3MdaE5piMiXz3lORbxXv5M5w9skw=' + QPKFoAyJB8FEZ2ecRNzuZzSCHL4z7qRIuKyE2wHdMMTr9X8kCJM='