Skip to content

Commit 37a7740

Browse files
committed
Use Docker image for CI builds
1 parent 971e46e commit 37a7740

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.travis.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,7 @@ before_install:
1313
- docker build . --tag ldbc/datagen
1414
install: true
1515
script:
16-
- mvn test | grep "^\\[" | tee mvn.log
17-
# test if the output of the mvn command contained an "[INFO] BUILD SUCCESS" entry
18-
- grep 'BUILD SUCCESS' mvn.log
19-
# generate SF1 data set
20-
- wget -q http://archive.apache.org/dist/hadoop/core/hadoop-2.6.0/hadoop-2.6.0.tar.gz
21-
- tar xf hadoop-2.6.0.tar.gz
22-
- export HADOOP_CLIENT_OPTS="-Xmx2G"
23-
- export HADOOP_HOME=`pwd`/hadoop-2.6.0
24-
- export LDBC_SNB_DATAGEN_HOME=`pwd`
25-
- ./run.sh
16+
- docker run --rm --mount type=bind,source="$(pwd)/",target="/opt/ldbc_snb_datagen/out" --mount type=bind,source="$(pwd)/params.ini",target="/opt/ldbc_snb_datagen/params.ini" ldbc/datagen
2617
- mkdir out
2718
- cp -r substitution_parameters out/
2819
notifications:

0 commit comments

Comments
 (0)