forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.21 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
32
33
34
35
36
rvm:
- "1.9.3"
services:
- redis-server
before_script:
- find ./config -depth -name "*.yml.example" -exec sh -c 'cp "$1" "${1%.yml.example}.yml"' _ {} \;
- psql -c 'create database myapp_test;' -U postgres; cp ./config/database.yml.travis ./config/database.yml
- RAILS_ENV=test rake db:migrate
script:
- bundle exec rake
gemfile:
- Gemfile
env:
- SPEC="spec/apis/**/[a-b]*_spec.rb"
- SPEC="spec/apis/**/c*_spec.rb"
- SPEC="spec/apis/**/[d-m]*_spec.rb"
- SPEC="spec/apis/**/[n-z]*_spec.rb"
- SPEC="spec/controllers/**/*_spec.rb"
- SPEC="spec/gem_integration/**/*_spec.rb"
- SPEC="spec/helpers/**/*_spec.rb"
- SPEC="spec/initializers/**/*_spec.rb"
- SPEC="spec/integration/**/*_spec.rb"
- SPEC="spec/lib/**/*_spec.rb"
- SPEC="spec/messages/**/*_spec.rb"
- SPEC="spec/migrations/**/*_spec.rb"
- SPEC="spec/models/[a-b]*_spec.rb"
- SPEC="spec/models/c*_spec.rb"
- SPEC="spec/models/[d-m]*_spec.rb"
- SPEC="spec/models/[n-z]*_spec.rb"
- SPEC="spec/models/*/*_spec.rb"
- SPEC="spec/observers/**/*_spec.rb"
- SPEC="spec/presenters/**/*_spec.rb"
- SPEC="spec/selenium/**/*_spec.rb"
- SPEC="spec/serializers/**/*_spec.rb"
- SPEC="spec/services/**/*_spec.rb"
- SPEC="spec/views/**/*_spec.rb"