-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml.master
55 lines (55 loc) · 3.17 KB
/
.travis.yml.master
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
44
45
46
47
48
49
50
51
52
53
54
55
language: ruby
rvm:
- 2.2
env:
global:
- TEST_LOC="sauce"
- GOOGLE_CLIENT_ID=""
- GOOGLE_CLIENT_SECRET=""
- GOOGLE_CHROME_BINARY=/usr/bin/google-chrome-stable
- secure: "TYqxrQOzkzQcyfDfLz9fOklDjK+vkXg0Jzp8wTynenz8ZzLIac6UKH3DZza7KcQAdgNhhSYoekh05z+b2/EaYKvo+SNDDsfWEP2qjBCL6GxccDE8Ti6itt4orGZUT2XKd6FkDbXDq9j3lUfKlG78lIImGiZKL1UN2WnQozXxBpdp1C8c4V2UcXo70u26Ii/m9eTYGoQfUvVa57lqpA7dMsuVW6lffTmGAcL0pY9penE6+tv1B7pxzQ7wrl+eQh4qw423qCJCWHRKKHVtPqvSafh6E8/wJIc5OUXRvy1Uz6eM4oX6PWfs0Knrznh1fLtFaJSXzSEaDNzJesoInvDINsQ8HqM9dYv95Codbg0wh9QlW3ZFg8OL8gAG2i9dScGRMqtTjz+cRpIDP1ppDaWypMrvLCoRVV/WfufQQTqZeESAFvOU4fcihlwAGaadEa2D4SVY72GXxIuxox2fKjNtxfCggoZhUZJQUWUP/C7x/W1qbu2XrgxGYB0VpCUcpFAH7Zsl2P96WBfIvjHvxITTCEA86lyV6ZcdX/fhCVEPGabBz5Et5hHbH1jFV3T3qDJpMLmeLbhZSHVsUrnnsb0qkEGX3jgHF6WaCDgwiEAzmGS4/JKsW5MlZvAdd2gd+EEowqMCA9gXRyR8RZr2OyxrKs73U7GyH/lgpHeZURf6YAY="
- REDISCLOUD_URL=""
- BASE_URL=http://localhost:5000
- SESSION_SECRET=not-so-secret-for-testing
- PYRET="http://localhost:5000/js/cpo-main.jar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acgo1dytqV+BNmxNj4FfnXj+rxi/SDpiKEifzj5UYLIAgAx/qbxWSHD8SHiOL1WMa7N3vN2Dh+O+9vCLDwtpzbC0kJqxVMei8buAR4pLReZO0OsmHGXDPApoqOdxvQ0Z2VtEWojIWaJSIl0gTaWKAPAE6GMT0zRQcmm6GPXmLpWGc/9MZKJ5lTXQloucRaStRhPYV4x2HNF4vVZmJ0RWQexAX4qsUiaVFs0jdnJTDvgyPWj+f7qJaaqNFfXz9TyP2N8LSjPdGBYfkWIbkv8dXjJCufXX29BbOD5Yq1NcRQxgTnQO1cvXs1/MJOrK8tCAQ/rZUqQakBMg71fhznOm2lejiiingfnq846C1v27KxZzFLnGIOfDUbMAgS1sbGUU="
matrix:
- SAUCE_BROWSER="chrome"
# - SAUCE_BROWSER="firefox"
# - SAUCE_BROWSER="safari"
# - SAUCE_BROWSER="internet explorer"
node_js:
- 6.2.1
cache:
directories:
- node_modules
before_script:
- node src/run.js &
- sleep 3
script:
- sleep 3
- heroku local:run node_modules/.bin/mocha
#addons:
# sauce_connect: true
#- mocha --harmony
addons:
chrome: stable
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install -g heroku-cli
- npm install -g chromedriver
- export CHROME_BIN=chromium-browser
- export PATH=$PATH:node_modules/.bin/
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install --ignore-scripts
- make web
- make deploy-cpo-main