forked from fablabbcn/fablabs.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 754 Bytes
/
.travis.yml
File metadata and controls
26 lines (26 loc) · 754 Bytes
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
---
addons:
code_climate:
repo_token: fda6f4f9bf2387705b47cd6135429a29a11ae9c5927afe01a18ee3e33c47246a
before_script:
- "cp config/database.travis.yml config/database.yml"
- "psql -c 'create database fablabs_test' -U postgres"
env:
global:
-
secure: MlhI/NpTblhwPavClDAl87CxpPrgys3/EbmMLTQnq9zHBc8YbpnCeQ92eMs6NAMdh64090BOcbxSgph4aAKqdd5QoX7VU07sduEaaIkSaFQ26jN4rrc2iS6dHRFIGND6mZ2hmvrmw5zGvMYLTdP7vaTyjNzCDIZCmtOxcLJ4jCk=
- OPBEAT_ORG_ID=org_id
- OPBEAT_APP_ID=app_id
- OPBEAT_SECRET=secret
matrix:
- DB=postgresql
language: ruby
rvm:
- "2.0.0"
script:
- "RAILS_ENV=test bundle exec rake db:migrate --trace"
- "bundle exec rake db:test:prepare"
- "bundle exec rake"
services:
- redis-server
sudo: false