-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
31 lines (31 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: ruby
rvm:
- 2.2.0
script:
- CODECLIMATE_REPO_TOKEN=3ff20cc22e00f7a1df41c56cabed56fe12a8a17f67a74a2165e92b2cd59573ce
bundle exec rake
- bundle exec rspec spec
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test' -U postgres
- bin/rake db:migrate RAILS_ENV=test
deploy:
provider: heroku
app: gradingwizard
api_key:
secure: KyMslgxGjYYwx3AKs/ZuAV1aOfXSXNSLSDuAMrAwTjQd2JV7cz+DkxVrOpGb/Xkzggq59ZFAtsTyn7j3+1JPLUgCfToafcoEWvsSRkrao+wi/MurQgm2hXmeEW8S73B+Msca4NoF2ppy9L2YA2hypZaO4P3a19JAvPc6uMN2j5c=
run:
- rake db:migrate
- rake db:seed
- restart
addons:
artifacts:
key:
secure: Lk/Qf1Zp1J9QLU1WoR/dHH3AjOWQFYOoYfDvMEZ6bXVMBHkF/7M+UNVX6U/ECsfU53Dzu6LClRrGmbf9XTAmKZkAq+9Bo0Yri/B2IBwRk6ekNZiBsNLNSrZ2Oi3XtGfyO7OXJiaKkd686ReuMAzpHeVEla3N12T1kv733opZQj8=
secret:
secure: bbc6WeoXJ4U3u+jvOCfIV+BdGPXTVoseScGDKQfIoKgCLGDhoda9S5oqzf4U4maw/C5/LxdZbMqGpP7yWiw2Y67dZa3jzo7UfJbEStlaMl5e+Wg6RsM+ksymz9oPfhQE2BVsG1leziOPl3KbkddNni9GVYk5nty9v/LKxgniiOg=
bucket: ga-wdi-travis-logs
postgresql: '9.3'
env:
global:
secure: VQ4Qzgodc7fR1n7CIH7Nt746g3iR5OpaIJ8GwMXv4QboDqjGnjPq+AMtZfwgySLXO/D5WtRo7QZduOkgpVZtRGNJ97mlXKSUAK8GEvKBVMoVi+4efN6f8/PVnKbpfO2W5SNj5kg06GQh3SySpGngqi/MJS/hXqIRPhuDXdaQKcc=