forked from eclipse-emfcloud/coffee-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.1 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
branches:
only:
- master
matrix:
include:
- sudo: required
language: node_js
node_js:
- "10"
cache:
yarn: true
directories:
- node_modules
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- libxkbfile-dev
chrome: stable
before_cache:
# Runs before the cache is updated, after successful CI
- rm -rf node_modules/electron
env:
global:
- NODE_OPTIONS="--max_old_space_size=4096"
before_install:
- dpkg --compare-versions `npm -v` ge 5.8 || npm i -g npm@^5.8
script:
- cd web/ && travis_wait yarn --network-concurrency 1
- language: java
dist: trusty
jdk: openjdk11
cache:
directories:
- "$HOME/.m2/repository"
env:
global:
- DISPLAY=:99.0
before_install:
- sh -e /etc/init.d/xvfb start - sleep 10
script:
- cd backend/releng/org.eclipse.emfcloud.coffee.parent && mvn clean verify -U