.travis.yml 822 Bytes
Newer Older
1
language: ruby
azul's avatar
azul committed
2 3
# only install ci and assets gems:
bundler_args: --without production:development:test
4
sudo: false
azul's avatar
azul committed
5
cache: bundler
azul's avatar
azul committed
6 7 8
env:
  - RAKE_TASK=test
  - RAKE_TASK=test:pages:all
9
rvm:
azul's avatar
azul committed
10
  - 2.1.5
11
matrix:
azul's avatar
azul committed
12
  fast_finish: true
azul's avatar
azul committed
13 14
#  allow_failures:
#    - rvm: 2.0.0
15 16 17 18 19
addons:
  apt:
    packages:
      - graphicsmagick
      - inkscape
azul's avatar
azul committed
20
before_install:
azul's avatar
azul committed
21
  - "bundle --version"
azul's avatar
azul committed
22 23
before_script:
  - "cp config/database.yml.example config/database.yml"
24 25 26
  - "bundle exec rake db:create"
  - "bundle exec rake db:schema:load"
  - "bundle exec rake db:test:prepare"
azul's avatar
azul committed
27 28
  - "RAILS_ENV=test bundle exec rake db:fixtures:load"
  - "RAILS_ENV=test bundle exec rake ts:index ts:start"
azul's avatar
azul committed
29
script: "bundle exec rake $RAKE_TASK"
30 31
after_script:
  - "cat tmp/*.test*.log" # printing logs from the failed integration tests
32 33
notifications:
  email: false
azul's avatar
azul committed
34