File tree Expand file tree Collapse file tree 2 files changed +39
-6
lines changed Expand file tree Collapse file tree 2 files changed +39
-6
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,18 @@ dist: trusty
2
2
sudo : required
3
3
language : java
4
4
jdk :
5
- - openjdk8
5
+ - openjdk8
6
6
python :
7
- - " 2.7"
7
+ - ' 2.7'
8
+ env :
9
+ global :
10
+ - GH_REF=github.com/ldbc/ldbc_snb_datagen.git
11
+ - secure : CkvlhK6IfI4meJVYmMzR6aOVciQgps0OCRk+CD6HBLsM+xKphjN0L/Tq4z/yeNT4WjV5pLqNvfAUX4RdfdDwjSWbdmjpuJPNu6AilYBRCP6LVM+v76phsNFaFK2cU+BNMyFmunv8JK70hM5VV+A+h2BbkIeVCzUkMIVOzh+SRqogx7CreGopCrvvJm4ai65+2JIuWanduIBWmI8YiSkq6/41Nb9Nyi3z7szNHoADjF/fS1rbGjwXehRWKrbKjSQvP3WNEHgvEHDqWzRoatdQuBQm5SDXjJYYCpxqpXDQJnClOpItkNCrFUm0tU9ZtZUhu91IjNCBZO1DzrdwhsBjQC79gk8opCDKq9FyBJvtQiOSBgkFvifY+Fz9KGJ4V4k3ixZst1WflsRYP9N9byRhDRPOgohFjCNAhGeqc8HHJe1/0SY3QTCiQY7PvosxXE7jrfSgbsfv0iVSVgTiATcQH5f+27/UjQpeCDsssoLU18OtGfcHSYn2UVUo/GKgOmnvTnPhfGcRKG1rMj9ZgwQHAF1WO1ZNlM+SnD2dCJk3Z0t4SUMlDuurn7LuHh+3Xl5eLxYxBzogLN9jQK3PwPuMcDBSBCBhyHmEHXaqX+AUiKEhsCMKqSF4VDjwtRRP2nkbFF/I1jxKo635R/dd1dQJQETEJI6Vicf1P/K0jtN1iyQ=
12
+ - secure : UG0OiJIFnm9mlQvV62cRwZzRFclw1Tu1QTFTUvEVcyskFV7fvIZjVZ1ozvIs8arfVulHXnijWYOr4X76HqB4bEMCpuk47nTk6zA+8omC+IVML1C8Mq0yT7L0k9iCShPOylAtvTqUMtrgewYXINqsQQxunqwWsIoeIdFh3wC+Km+0k2/NlxGlsCj4ajP1reGcYxj9b51mjskAC4EueJn0mgd7uFS3C92hJEaFovKUykpnVx9Vx54ssm2QkTtijdGiEUtps8b93dQQ0wQ/KShTQ6HiHr60Z0pt5PGThVT7EeO9RSHEJjIGhK+UKEf6ab0yxWjQxoIGjXEE19orVA+hLiHq9nnAQK293Y6+J6Qc6s+HI2PTrymI3kQGi3KcTN/K9ukW2wfulxX4R/nTFAtWJK4MMmMBahC+t2dSeKDKbq0yzFfFaSgFPLfDcfe/aQ/YBWFDhbvAqWmguMTcwreNeZMvMNLDdRCY3uXMOjqVEhxbJItbyhXCYTnPgdDDKcaJO2GaOadSzZdomwFhqpKjOca9ynVes1NX1Q+jv9E1862l9D8gkWGiMekMW2IhaVZTQvp1V77TCJ+az4jJVmTPdMAjiQvyisKFzC39xYUix11fYuZOTKQjPB1r4CUwVTTS649n6VwGukE0OdnzEFqbMHql6iV4ODQlHEO+syNbAOM=
8
13
script :
9
- - mvn test
10
- - wc -l ./test_data/social_network/*
11
- - head -n 15 ./test_data/social_network/person_0_0.csv
12
- - head -n 15 ./test_data/social_network/person_knows_person_0_0.csv
14
+ - mvn test | grep "^\\["
15
+ - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then ./deploy.sh;
16
+ fi
13
17
notifications :
14
18
slack : ldbcouncil:OrBanrJ7l0EHQbj8T5YdJYhd
15
19
email : false
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e # exit with nonzero exit code if anything fails
4
+
5
+ # clear and re-create the out directory
6
+ rm -rf out || exit 0
7
+ mkdir out
8
+
9
+ # run our compile script, discussed above
10
+ cp -r substitution_parameters out/
11
+
12
+ # go to the out directory and create a *new* Git repo
13
+ cd out
14
+ git init
15
+
16
+ # inside this git repo we'll pretend to be a new user
17
+ git config user.name " FTSRG BME"
18
+ git config user.email
" [email protected] "
19
+
20
+ # The first and only commit to this new Git repo contains all the
21
+ # files present with the commit message "Deploy to GitHub Pages".
22
+ git add .
23
+ git commit -m " Deploy to GitHub Pages"
24
+
25
+ # Force push from the current repo's master branch to the remote
26
+ # repo's gh-pages branch. (All previous history on the gh-pages branch
27
+ # will be lost, since we are overwriting it.) We redirect any output to
28
+ # /dev/null to hide any sensitive credential data that might otherwise be exposed.
29
+ git push --force --quiet " https://${GH_TOKEN} @${GH_REF} " master:gh-pages > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments