-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwercker.yml
31 lines (31 loc) · 942 Bytes
/
wercker.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
box: wercker/rvm
services:
- wercker/postgresql
build:
steps:
- rvm-use:
version: 2.2.0
- bundle-install
- rails-database-yml:
service: postgresql
- script:
name: echo ruby information
code: |
echo "ruby version $(ruby --version) running"
echo "from location $(which ruby)"
echo -p "gem list: $(gem list)"
- script:
name: Set up application.yml
code: cp config/application.example.yml config/application.yml
- script:
name: Create tmp dir
code: bundle exec rake tmp:create
- script:
name: CI env
code: export CI='ON'
- script:
name: Set up db
code: RAILS_ENV=test bundle exec rake db:schema:load
- script:
name: Run RSpec
code: bundle exec rspec