forked from lf-lang/lingua-franca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (39 loc) · 862 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
# Build lingua-franca on the Travis Continuous Integration system
#
# Based on http://muelder.blogspot.com/2015/08/building-eclipse-plugins-with-maven.html
#
sudo: false
language: java
jdk:
- oraclejdk12
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
# The node_js property doesn't work if the language is java
before_install:
- nvm install 10.4.0
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-7
- g++-7
#env:
# global:
# - DISPLAY=:99.0
#before_install:
# - sh -e /etc/init.d/xvfb start - sleep 10
script:
# - jdk_switcher use oraclejdk8
# - jdk_switcher use oraclejdk11
- export CC=/usr/bin/gcc-7
- export CXX=/usr/bin/g++-7
- pushd xtext
- ./gradlew test
- popd
# - bin/build-lfc --clean
- bin/run-lf-tests C
- bin/run-lf-tests Cpp
- bin/run-lf-tests TS