Get config.yml/secrets.yml out of travis/vagrant

This commit is contained in:
Henne Vogelsang 2016-03-22 18:08:17 +01:00
parent bd36ce0fb2
commit d532016312
2 changed files with 0 additions and 20 deletions

View file

@ -18,8 +18,6 @@ notifications:
on_failure: change
before_script:
- cp config/database.yml.example config/database.yml
- cp config/config.yml.example config/config.yml
- cp config/secrets.yml.example config/secrets.yml
- RAILS_ENV=test bundle exec rake db:migrate --trace
script:
- 'bundle exec rubocop -Dc .rubocop.yml'

View file

@ -15,24 +15,6 @@ gem install bundler
echo -e "\ninstalling your bundle...\n"
su - vagrant -c "cd /vagrant/; bundle install --quiet"
# Configure the app if it isn't
if [ ! -f /vagrant/config/config.yml ] && [ -f /vagrant/config/config.yml.example ]; then
echo "Configuring your app in config/options.yml..."
cp config/config.yml.example config/config.yml
else
echo -e "\n\nWARNING: You have already configured your app in config/options.yml."
echo -e "WARNING: Please make sure this configuration works in this vagrant box!\n\n"
fi
# Configure the app if it isn't
if [ ! -f /vagrant/config/secrets.yml ] && [ -f /vagrant/config/secrets.yml.example ]; then
echo "Configuring your secrets in config/secrets.yml..."
cp config/secrets.yml.example config/secrets.yml
else
echo -e "\n\nWARNING: You have already configured your secrets in config/secrets.yml."
echo -e "WARNING: Please make sure this configuration works in this vagrant box!\n\n"
fi
# Configure the database if it isn't
if [ ! -f /vagrant/config/database.yml ] && [ -f /vagrant/config/database.yml.example ]; then
echo -e "\nSetting up your database from config/database.yml...\n"