-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
41 lines (41 loc) · 1.59 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
language: node_js
node_js:
- '6.9.1'
cache:
directories:
- ~/.nvm
- node_modules
services:
- docker
git:
depth: 1
env:
global:
- RELEASE_BRANCH="master"
- DOCKER_HUB_ACCOUNT=nebo15
- MAIN_BRANCHES="master develop"
- secure: "OlEMc7XOIo1HRF/knwOaCFPUq7gBTHv13oodLQ9xY4DXKo7Uurk5fMj65lZxQnHyyk046kuNLcI9fK4w/2Y7+f0Jl47/7D8eZarvds+KoRhEsqJsDE2ycmzxY8slklyvXQgcZtkkGpv7DwAr8MjZukQS4DD7dHv3BgxB4t0nRlggg/vCi7TRxFu42/TxhzbnjSCcLcJDgddX6iuHeW773dBiPBXHxhbRmnO/GR6mI6DwmWDVqPlti5RA5SuyXPC/ubRcmROCWdxrrA7QsclOPsegls7ZN4WfhL9CYmtSt7C2l3P7En7fGc4jAIJTd1QeeZj7vcGDlrcejwZc75E67IkKG6C5S+6idaJTF1dMuLTOMLyTydvlkKf6PZ1VOf9UVP2G9UhmTWMlkhcHIktRyQyAR+C5YR3MYZ5dMpRS4vpnHlqR5mNiB+bciXELny12e35xeCUHjWgiEkwwRp5M0UFxsU4i94KaJweHjzo0fRv1rbI7Q4fUIrdHDqzL1XAqTqi1wMSSOyBt44nlKIrmC72RgJMG+qefSaa2MLTgcnThai6IbU7jeYtoZ7kT6hbG8wjN5CyaKUDRFHOAs5jxGyK3zs5Wv6pAE1uZu1AGR1s/nVFtpWZLCmO6De9dUHth1NUQtI9YYwb/tHz5afAFQodG3DjYMxU2SxxiD4KuELw="
before_install:
- npm run docker:up && docker logs selenium || { exit 1; }
- chmod -R +x bin
- gem install sass --version "=3.4.12"
- gem install compass --version "=1.0.3"
- npm install -g bower
install:
- npm install
- bower install
script:
- touch .env
- ./bin/version-increment.sh && ./bin/build.sh && ./bin/start.sh || { exit 1; }
- sleep 5
- docker ps
- RUNNING_CONTAINERS=`docker ps | wc -l`;
if [ "${RUNNING_CONTAINERS//[[:space:]]/}" == "1" ]; then
echo "[E] Container is not started\!";
docker logs gandalf.web --details --since 5h;
exit 1;
fi;
after_success:
- ./bin/ci/push.sh
after_script:
- npm run docker:down