forked from polimediaupv/paella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (28 loc) · 856 Bytes
/
.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
sudo: required
services:
- docker
language: node_js
node_js:
- "node"
before_install:
- npm install -g gulp
- npm install
install:
- gulp
script:
- gulp build.debug
- docker run -d --name paella-test-nginx -v `pwd`/build:/usr/share/nginx/html:ro nginx:alpine
- docker run -d --name paella-test-selenium --link paella-test-nginx:paella -p 4444:4444 selenium/standalone-chrome:3.3.0
- gulp test:local
before_deploy:
- sh ./.travis_scripts/prepate_deploy.sh
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: UI6zIHGkhy7p/OtViLbi1yxuyYPteAoRGFO7D8xhc8N6YAkzxYFmlTHdUQgFj4Hgh+5gO6/jW9kpTkbkbATSIVLOLcuLyJEq6jDuorM2q8D2VInpc5ZpNddFjiQdKaIkZL8CeBnncKvmxCBZeHgE4MQPOGHtCQ900viROEVY0ak=
file:
- ${HOME}/deploy/paella-prebuilt-${TRAVIS_TAG}.tar.gz
on:
repo: polimediaupv/paella
tags: true