forked from openSUSE/open-build-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 836 Bytes
/
.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
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