-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
42 lines (42 loc) · 1.04 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
language: node_js
node_js:
- 0.10
notifications:
email: false
services:
- mongodb
env:
global:
- NODE_ENV: test
addons:
sauce_connect: true
before_install:
- npm install -g [email protected]
- npm install -g [email protected]
- npm install -g [email protected]
- npm install -g [email protected]
- webdriver-manager update
- bower install
before_script:
- node test/data.js
- grunt minifica
- node server &
- sleep 10
script:
- karma start config/karma.config.js --single-run --browsers PhantomJS
- protractor config/protractor.js
before_deploy:
- git config --global user.email '[email protected]'
- git config --global user.name 'Travis CI'
- git checkout $TRAVIS_BRANCH
- git add --all
- git commit -am "Travis commit"
deploy:
provider: openshift
user: [email protected]
password:
secure: B5RJtlmXjkJ58Cap3mCLtDFtg2LXNAS6ntfK3ZF9EIUZBcZ4pEESmTQ2qdq6tE4N4TifI/4nqL3eWwdy8xa1xBPO2HgnbGfkfCgIzkdujJ20VlnAXqmg8T4kz4cvhCgfAugB+ARH1OYXS1gPIxElqx3nul0kzY30XNGnYK6Ewf0=
app: contatooh
domain: flavioalmeida
on:
repo: flaviohenriquealmeida/contatooh