forked from njeirath/brenda-web
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
32 lines (32 loc) · 1.46 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
language: node_js
sudo: required
addons:
chrome: stable
node_js:
- 'node'
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm start > /dev/null &
- npm run update-webdriver
- npm install [email protected]
- sudo apt update && sudo apt install google-chrome-stable
- sleep 1
script:
- node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots
- node_modules/.bin/protractor tests/e2e-tests/protractor.conf.js
deploy:
provider: s3
access_key_id: AKIAJOUMC4RNM4LVCDRA
secret_access_key:
secure: C1udB0j/z1ru18Di4dLiAlsd7UdQiNfN7uz2W/D5WBU86ezC6Q0v1hIN79yTWEIgoT3aBf/Aoxl+J6dfgaH7GVUDRvz/F+vvwqwVruejSK/ws7bDw2YbWWPjOQeiKrOAMPGONGEvAfFbN/gu/lnKB94DhlCp+nleAGx8IPuRvh+LSRCHwBLjibFjNifPK44kahllx8T4m/ROmr5e1PQhwoScFZ55wjZKEM8ppNgm4AkMzrFjfhGe3ovRWnqej+5swnYsaHK+W4fWtg3aj/jW3pPMx1fDimBCoAEEM5puYNBw8XcBqoqCr7EmLUzohE3d9xe2L8/IqwzvbccqozBEULcKzFHXzO4HniZU1Hcio6l6fGLeOoAcT/3dMLTkfYgtohVGBGU/acpwjvdt8CRLRW54dm65N/pduK7vKyXzB3vXDzYQrbhQ9tkHdZBvXKJopoIBbm8RkD3k0C1sxSpdygfZWOReX9gW/nO4JxrisM3eyF6ejEktPolHPDsUtixZJ9C9Tdi4EUxAMxJn77S+rk6ZtSgLjd0GOp+x9YQF48NvV+v7FaSY4nHa23t7QkpF1/8B5RCHXgDFzudG/uKHS8zQub9Hs8J4UoJ/kOyO6pJVAQDVNzICzTQq3v8nDrLSPquLnDnN586cSS6n64wYQdQOXiiZusCcjmP4EpQ1sds=
bucket: brenda-web.com
local-dir: app
acl: public_read
skip_cleanup: true
on:
repo: njeirath/brenda-web
branch: master
addons:
code_climate:
repo_token: cd72f6cfb00b67194fd5a19683de2f8fa72ab49590123ac167dd57b39678caab