forked from apache/tinkerpop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (71 loc) · 2.82 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
65
66
67
68
69
70
71
72
73
74
language: java
os:
- linux
jdk:
- openjdk11
sudo: required
dist: bionic
services:
- docker
cache:
directories:
- $HOME/mvn-home
addons:
apt:
sources:
- deadsnakes
install:
# install maven 3.3.9 if it is not in cache already
- bash .travis.install-maven.sh "3.3.9" "${HOME}/mvn-home"
- export M2_HOME=${HOME}/mvn-home
- export PATH=${HOME}/mvn-home/bin:${PATH}
# visual check that we have the correct maven/python versions installed
- mvn -version
- python2 --version
- python3 --version
before_install:
- wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
- sudo dpkg -i packages-microsoft-prod.deb
- sudo add-apt-repository universe
- sudo apt update
- sudo apt install apt-transport-https
- sudo apt update
- sudo apt install dotnet-sdk-3.1
- sudo apt install python3.6
- sudo rm /usr/bin/python3
- sudo ln -s python3.6 /usr/bin/python3
- sudo apt install gcc python3.6-dev libkrb5-dev
jobs:
include:
- stage: "tests"
script: "mvn clean install -Dci --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
name: "mvn clean install - jdk11"
- script: "touch gremlin-dotnet/src/.glv && touch gremlin-dotnet/test/.glv && mvn clean install -q -DskipTests -Dci && mvn verify -pl :gremlin-dotnet,:gremlin-dotnet-tests -P gremlin-dotnet"
name: ".net"
- script: "touch gremlin-python/.glv && mvn clean install -q -DskipTests -Dci && mvn verify -pl gremlin-python"
name: "python"
- script: "mvn clean install -q -DskipTests -Dci && mvn verify -pl :gremlin-javascript"
name: "javascript"
- script:
- "mvn -version"
- "mvn clean install -Dci --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
jdk: openjdk8
name: "mvn clean install - jdk8"
- script:
- "mvn clean install -q -DskipTests -Dci"
- "mvn verify -pl :gremlin-server -DskipTests -DskipIntegrationTests=false -DincludeNeo4j"
name: "gremlin server"
- script:
- "mvn clean install -q -DskipTests -Dci"
- "mvn verify -pl :gremlin-console -DskipTests -DskipIntegrationTests=false"
name: "gremlin console"
- script:
- "mvn clean install -q -DskipTests -Dci"
- "travis_wait 60 mvn verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false '-Dit.test=*IntegrateTest,!SparkGryoSerializerGraphComputerProcessIntegrateTest'"
name: "spark - core"
- script:
- "mvn clean install -q -DskipTests -Dci"
- "travis_wait 60 mvn verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false -Dit.test=SparkGryoSerializerGraphComputerProcessIntegrateTest"
name: "spark - gryo"
- script: "docker/build.sh"
name: "docker"