-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
31 lines (30 loc) · 891 Bytes
/
.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
addons:
code_climate:
repo_token: c75df5383c6ed506f57bd7281c1c41200a139a6847ad4c62d0371a23d457f8c6
language: ruby
rvm:
- 2.1.2
before_install:
- sudo apt-get install libicu-dev -y
- sudo apt-get install libqt4-dev libqtwebkit-dev -y
before_script:
- cp config/database.psql.yml config/database.yml
- psql -c 'create database hpi_swt2_test;' -U postgres
script:
- RAILS_ENV=test bundle exec rake db:migrate
- xvfb-run bundle exec rspec spec/
notifications:
email: false
deploy:
provider: heroku
api_key:
secure: BekStuNkzLBVTxPjbAUBorYniLIXmAp2TPmcRNZG7Q5cCPmx/I7F9Hua0ABmmK4onAnB8XvU8q/tBde5CxApE46qqRMmajBF2UkY8CADhzCs3IZB8jy3IOm3Unmv5OjrbDF+uruxx5VJ/4naNWfOwtbxG0saRsG3Aic1PhwcH8w=
app:
master: event-und-raumplanung
dev: event-und-raumplanung-dev
on:
repo: hpi-swt2/event-und-raumplanung
run:
- "rake db:migrate"
- "rake db:seed"
- restart