forked from lf-lang/lingua-franca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (49 loc) · 1.01 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
# Build lingua-franca on the Travis Continuous Integration system
#
# Based on http://muelder.blogspot.com/2015/08/building-eclipse-plugins-with-maven.html
#
dist: bionic
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:
# update: true
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- python3
- python3-pip
- python3-setuptools
- gcc-7
- g++-7
- libprotobuf-dev
- libprotobuf-c-dev
- protobuf-compiler
- protobuf-c-compiler
- python3-googleapi
env:
- TEST=C
- TEST=Cpp
- TEST=TS
- TEST=Python
# global:
# - DISPLAY=:99.0
#before_install:
# - sh -e /etc/init.d/xvfb start - sleep 10
script:
- 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 $TEST