Commit 0f665f4176a29897656c7113c1c8002753bb756d
Exists in
master
and in
4 other branches
Merge pull request #5519 from zzet/patch-3
Run tests in parallel on travis
Showing
1 changed file
with
10 additions
and
3 deletions
Show diff stats
.travis.yml
1 | language: ruby | 1 | language: ruby |
2 | env: | 2 | env: |
3 | - - DB=mysql TRAVIS=true | 3 | + global: |
4 | + - DB=mysql | ||
5 | + - TRAVIS=true | ||
6 | + matrix: | ||
7 | + - TASK=spinach | ||
8 | + - TASK=spec | ||
9 | + - TASK=jasmine:ci | ||
4 | before_install: | 10 | before_install: |
5 | - sudo apt-get install libicu-dev -y | 11 | - sudo apt-get install libicu-dev -y |
6 | - gem install charlock_holmes -v="0.6.9" | 12 | - gem install charlock_holmes -v="0.6.9" |
@@ -11,8 +17,9 @@ rvm: | @@ -11,8 +17,9 @@ rvm: | ||
11 | - 2.0.0 | 17 | - 2.0.0 |
12 | services: | 18 | services: |
13 | - mysql | 19 | - mysql |
14 | - - postgresql | ||
15 | before_script: | 20 | before_script: |
16 | - "cp config/database.yml.$DB config/database.yml" | 21 | - "cp config/database.yml.$DB config/database.yml" |
17 | - "cp config/gitlab.yml.example config/gitlab.yml" | 22 | - "cp config/gitlab.yml.example config/gitlab.yml" |
18 | -script: "bundle exec rake gitlab:test --trace" | 23 | + - "bundle exec rake db:setup" |
24 | + - "bundle exec rake db:seed_fu" | ||
25 | +script: "bundle exec rake $TASK --trace" |