forked from fablabbcn/fablabs.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 903 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: fda6f4f9bf2387705b47cd6135429a29a11ae9c5927afe01a18ee3e33c47246a
before_script:
- "cp config/application.travis.yml config/application.yml"
- "cp config/database.travis.yml config/database.yml"
- "psql -c 'create database fablabs_test' -U postgres"
- "npm install -g bower"
env:
global:
-
secure: MlhI/NpTblhwPavClDAl87CxpPrgys3/EbmMLTQnq9zHBc8YbpnCeQ92eMs6NAMdh64090BOcbxSgph4aAKqdd5QoX7VU07sduEaaIkSaFQ26jN4rrc2iS6dHRFIGND6mZ2hmvrmw5zGvMYLTdP7vaTyjNzCDIZCmtOxcLJ4jCk=
- OPBEAT_ORG_ID=org_id
- OPBEAT_APP_ID=app_id
- OPBEAT_SECRET=secret
matrix:
- DB=postgresql
language: ruby
cache: bundler
rvm:
- "2.1.9"
script:
- "bower install"
- "bundle exec rake db:schema:load"
- "bundle exec rake db:test:prepare"
- "bundle exec rake"
- "bundle exec codeclimate-test-reporter"
services:
- redis-server
sudo: false