-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (36 loc) · 1.04 KB
/
.travis.yml
File metadata and controls
36 lines (36 loc) · 1.04 KB
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
sudo: true
env:
matrix:
- RSPEC_PATTERN="spec/{controllers,features,helpers,lib,mailers,models,usermanual}/**/*.rb"
- RSPEC_PATTERN="spec/integration/{running_tests,comet,feedback,requests}/**/*.rb"
- RSPEC_PATTERN="spec/integration/*.rb"
global:
secure: XC/0F2K3EyGYrOtS9G+YddR9iW0E/eUBCe7dyjIHT3bAuWmkNLbGaWFvRaRALGCLJaQBzksEwQE47+qv4nS72kuVElHws5S3YU7PYT3A4KENe4pdycx9YitLj1eh7F4ds4LUEJ2TmjRw1+fvlsAXJ//ZW/vqzAxeZPrJPOF52tY=
language: ruby
rvm:
- 2.2.0
git:
submodules: false
addons:
apt:
packages:
- valgrind
- check
- pkg-config
- gcc
before_install:
- . ./setup-travis.sh
install:
- bundle install --retry=3 --jobs=3 --deployment
services:
- postgresql
before_script:
- createuser -U postgres -s tmc
- bundle exec rake db:reset
script:
- ./ext/tmc-sandbox/web/webapp.rb start
- bundle exec rake spec SPEC_OPTS="--pattern $RSPEC_PATTERN --tag ~network -f d" SANDBOX_HOST=127.0.0.1 SANDBOX_PORT=3001
after_success:
- . ./.travis-update-usermanual.sh
after_failure:
- cat ext/tmc-sandbox/web/log/*