forked from hyperledger-archives/composer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.2 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
43
44
45
46
language: node_js
node_js:
- '4'
- '6'
matrix:
include:
- env: DOCS=full
# - env: SYSTEST=embedded
# - env: SYSTEST=web
# - env: SYSTEST=hlf SYSTEST_HLF=hlf
# sudo: required
# services:
# - docker
# - env: SYSTEST=hlf SYSTEST_HLF=ibm
# sudo: required
# services:
# - docker
dist: trusty
addons:
apt:
packages:
- graphviz
before_install: |
set -ev
set -o pipefail
npm install -g npm
npm install -g @alrra/travis-scripts
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
echo "deb http://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt-get update && sudo apt-get install cf-cli
install: |
set -ev
set -o pipefail
npm install 2>&1 | tee
script: ./.travis/script.sh
deploy:
provider: script
script: ./.travis/deploy.sh
skip_cleanup: true
on:
all_branches: true
cache:
directories:
- $HOME/.npm