-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
17 lines (17 loc) · 1.9 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: ruby
before_script:
- cp config/database.yml.travis config/database.yml
script:
- export RAILS_ENV=test
- bundle exec rake db:setup db:migrate
- bundle exec rake spec
- bundle exec rubocop
after_success:
- if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ]; then openssl
aes-256-cbc -k $DEPLOY_KEY -in config/deploy_id_rsa_enc_travis -d -a -out config/deploy_id_rsa;
chmod 600 config/deploy_id_rsa; eval `ssh-agent -s`; ssh-add config/deploy_id_rsa;
bundle exec cap production deploy; ssh-agent -k; fi
env:
global:
- secure: dwsFBQy3zOEzR82UdDcVnKx7DkmFcDF5uJDlIJPwbbMZKizfYqzdCkLvmNEYIXBSaZrJT0UD2OgGn0f/I4Sl3Xrgujq7CjEvhFKcLMpd1vLZ83LXDXNadOMsr4F/bd6nS7C3EiUcgrdLspv7VaDGjF4FqmkmxpiCBj+FVStkm5kLvgTxwMv3qT7JakshFWgO3G0OHmC+S6KNTP6admGiQzIBKJu5vQuiXWPaYvDuUs9firJjJZ+/IP+441Osx2CbvUFn11IQsFjH3A1mxQB3IH8ydkOhyRgwAgj5I/Zbf2YVupxP/sv7RliukPPgKEjRpKWH3ErQAjrqG8ylkspl1TkbSxAZ0hPYZ3Mg1bujbEZAv/s6R4g2KoOqKvAiRiKOQ6w7Lsn3qvr1s4oQJvIFMSC3L0J3L0U3cKwegSIJ+v1vYq5pp/tNO7Z4r2iPU1BQcboMBMPpRy3/7T0ACSZ5pF6Wy8IsLalQhLzASR0Qc9K0AIggKQVqzRJH6Rh7XQ/KAJWQYyT1y6Ktiee9QDTmDLRTXMOk3IQDvrs8fQ+mU0/ptQ6aEJaQx2TrI5xXUaD7tOxKiKByh13E1VZzqT5iQKxOlIRRh9te0C7FQ37Co4FqRyc2IhvPaXna8nMYN+BGJKYcjg0kGTu77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