forked from saberma/shopqi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (35 loc) · 1.26 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
37
38
39
40
41
42
bundler_args: --without production development #rails-dev-boost: invalid byte sequence in US-ASCI
rvm: 1.9.3
# RubyPython::PyObject::FFI (NameError)
# https://github.com/travis-ci/travis-ci/issues/557#issuecomment-5919720
before_install: gem uninstall ffi -a
# request headless test
before_script: sh -e /etc/init.d/xvfb start
script:
- "cp config/database.yml.example config/database.yml 2>&1"
- "cp config/app_secret_config.yml.example config/app_secret_config.yml 2>&1"
#- "bundle exec rake travis:init_db"
- "bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "bundle exec rake travis:parallel"
env:
- UNIT_TEST=1 # 单元测试1
- UNIT_TEST=2 # 单元测试2
- UNIT_TEST=3 # 单元测试3
- UNIT_TEST=4 # 单元测试4
- UNIT_TEST=5 # 单元测试5
- UNIT_TEST=6 # 单元测试6
- UNIT_TEST=7 # 单元测试7
- UNIT_TEST=8 # 单元测试8
- INTEGRATE_TEST=1 # 集成测试1
- INTEGRATE_TEST=2 # 集成测试2
- INTEGRATE_TEST=3 # 集成测试3
- INTEGRATE_TEST=4 # 集成测试4
- INTEGRATE_TEST=5 # 集成测试5
- INTEGRATE_TEST=6 # 集成测试6
- INTEGRATE_TEST=7 # 集成测试7
- INTEGRATE_TEST=8 # 集成测试8
#notifications:
# recipients:
timeouts:
bundle: 1200