forked from eclipsesource/graphical-lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (62 loc) · 1.46 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
branches:
only:
- master
matrix:
include:
- language: java
dist: trusty
jdk: openjdk11
before_script:
- cd server
cache:
directories:
- "$HOME/.m2/repository"
script:
- mvn clean verify -U
before_deploy:
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
deploy:
provider: script
skip_cleanup: true
script: bash ../scripts/deployMaven.sh
on:
branch: master
after_deploy:
- cd ../scripts
- ./deployP2.sh
addons:
apt:
packages:
- libxml2-utils
- language: node_js
node_js: '10'
before_script:
- cd client
cache:
yarn: true
directories:
- node_modules
env:
global:
- CXX=g++-4.8
- NODE_OPTIONS="--max_old_space_size=4096"
addons:
apt:
update: true
packages:
- g++-4.8
- libsecret-1-dev
- xvfb
- libx11-dev
- libxkbfile-dev
install: false
before_deploy:
- printf "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}\n" >> ~/.npmrc
- yarn
deploy:
provider: script
script: bash ../scripts/deployNPM.sh
on:
branch: master
skip_cleanup: true