summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 01fb24a3b5ba5834718484d13d0f66e83d3ecab3 (plain)
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
language: ruby
rvm:
  - 2.1
before_script: 
  - mysql -e 'create database ci_api_test;'
  - sed -e 's,password:.*,password:,' -i src/api/config/database.yml.example
  - travis_retry bash -x dist/ci/obs_testsuite_travis_before.sh
  - bash -x dist/ci/obs_testsuite_travis_setup.sh
script: bash -x dist/ci/obs_testsuite_travis.sh
env:
  # just one special test
  #- SUBTEST=api:functional/aaa_pre_consistency_test.rb:test_resubmit_fixtures
  #- SUBTEST=rake:test:api
  #- SUBTEST=rake:test:webui
  # api and webui webrat with latest gems
  #- SUBTEST=rake:test REMOVEGEMLOCK=true
matrix:
  allow_failures:
    - env: SUBTEST=rake:test REMOVEGEMLOCK=true
notifications:
  irc:
     channels:
       - "chat.freenode.net#opensuse-buildservice"
     on_success: change
     on_failure: change  
services:
  - memcached # will start memcached