-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (47 loc) · 961 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: true
services:
- docker
addons:
apt:
packages:
- oracle-java8-installer
- maven
cache:
docker: true
directories:
- modules/admin/node_modules
- modules/admin/typings
- .autoconf
- $HOME/.m2
language: java
jdk:
- oraclejdk8
node_js:
- "6"
install:
- nvm install 6
- nvm use 6
# - export CHROME_BIN=chromium-browser
# - export DISPLAY=:99.0
# - "sh -e /etc/init.d/xvfb start"
# - sleep 3 # give xvfb some time to start
# - npm run start:hmr&
# - sleep 10
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker push smscio/smsc;
fi
script:
- ./bin/deploy.sh
#after_success:
# - mvn clean cobertura:cobertura coveralls:report
notifications:
email:
recipients:
- info@smsc.io
- dimakuba124@gmail.com
on_success: always
on_failure: always
addons:
sauce_connect: true