forked from consuldemocracy/consuldemocracy
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
43 lines (43 loc) · 3.21 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
43
language: ruby
addons:
postgresql: "9.4"
chrome: stable
rvm:
- 2.6.1
cache: bundler
bundler_args: --without development
before_script:
- wget -N https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/share/
- sudo chmod +x /usr/local/share/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
- for i in config/*.example; do cp "$i" "${i/.example}"; done
- bundle exec rake db:setup
script:
- "bundle exec rake assets:precompile RAILS_ENV=test > /dev/null 2>&1"
- "bin/knapsack_pro_rspec"
env:
global:
- KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true
- KNAPSACK_PRO_LOG_LEVEL=info
- KNAPSACK_PRO_CI_NODE_TOTAL=10
- secure: KTKnEVkT28dxldpq7CBCF2Vd0AiQFDgwsVMhq82vw+CTJibQKnOSts+x7azcXWfCnTTklybmocUowb/NWV4vpo3tyAZrZfnO8nzK/Ztu/Ki2x2ranLRxSXvuNkyF5z1E3xeGL/XOcKN8b/CAR1ZPE2OsEko8S/qSY/Y4dPjMH+bFEpEqBvkTpn5Ze4uW7IsmGsEUsElk9fDZPuDElNiVhMAYL8/cpEI/EucSqYrGqu0ulHHeUICG1bkoCQziCrvU+LdFQRh5OXyhSO5/OmYJwjcNuI/jS97VK50GFyxlssTJHChiTSWhT/8afM5pM/uu/cDJKDL0zDmAce+Fy/xSjFCby4jN7vscNpbZ6lGyIW2uqBFX/Ri4jZVyzu9qgwEeKhsrsfsfSMEjx9JMvUiuyAn15SFrN8+bzztU2GVbYd189L8hEa/8T899zE8z80oy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DEX=4
- KNAPSACK_PRO_CI_NODE_INDEX=5
- KNAPSACK_PRO_CI_NODE_INDEX=6
- KNAPSACK_PRO_CI_NODE_INDEX=7
- KNAPSACK_PRO_CI_NODE_INDEX=8
- KNAPSACK_PRO_CI_NODE_INDEX=9
notifications:
slack:
secure: xBUwrdF9rjPOQt50o/aqZdY5QoNLoqEego+TKAwiK98fRipP3UVT3V/dSdK02+rV5nC4qGPF0uAgXlMn9OhHn2Fc/KWJ3UYcnvOp0szK4yrAzbp4weIcf/gU5hT3655YVxa5uQXXLQn/rJXPSKvhGJmYsP5ufpTRjSs3eV8t56vkyvbcavAbUq46nj+A+44XLbpNbxgApiaOR/WetrZFiLk6QTf6wmMkIKifi2NTiV/4wOAVAwPGAa5BFW+aoykHQf2hOVVTkf6QrKLKa9gYkWeX1FaCW4ZTC1ghOB5HwfEraUWvcovPoqOWMt39lHrEcc7qrPbolJltYG6CJTT8QK3CU+rD3lOxFhCfOzqrmJHUC/MGH35d4DIA8ZPk0mNXHcHv3vwZaNs0l0rBzascU8lI8BOWlBjR2rul9I7/CI7JfbTmkx0LqSybXviN104dcEkRFoB+FuyZasUYX19tD8/YtrFf8v/5zt8L6i/2Sicb/Ym1nBRt6rIFtxZdn6aWQeZbYkEUn2kEIfjy+CIkZTMCXfFAYaj5GxB/xac4kh72JERTtVYdOsON/o4Gzl2SsYvaI1esxVWBszq8JVS3Fx3j1mqW/O+OBfPXVd7MZSI1NOkAFr7n6HH2cvftM8OA8p2320QQcqqmfDOoqbPb8A/ZNtnXOQ4Ym14b94sdeMo=
on_failure: always
on_success: change