diff --git a/.travis.yml b/.travis.yml index 3a9861a..9f51dd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: java jdk: - openjdk8 script: - - ./build.sh + - ./gradlew build -i -s after_script: - find -name TEST* -exec cat {} \; notifications: diff --git a/build.sh b/build.sh deleted file mode 100755 index f48a4fa..0000000 --- a/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -./gradlew clean cE eclipse build install gitChangelogTask || exit 1 -cd violation-comments-to-gitlab-gradle-plugin-example - -# -# Get project id: curl -XGET "https://gitlab.com/api/v4/projects/tomas.bjerre85%2Fviolations-test" -# MR: https://gitlab.com/api/v4/projects/2732496/merge_requests -# -./gradlew violationCommentsToGitLab -DGITLAB_URL=https://gitlab.com/ -DGITLAB_MERGEREQUESTIID=1 -DGITLAB_PROJECTID=tomas.bjerre85/violations-test -DGITLAB_APITOKEN=$GITLAB_APITOKEN -i --stacktrace diff --git a/release.sh b/release.sh deleted file mode 100755 index e0c13d3..0000000 --- a/release.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -./gradlew release || exit 1 -./build.sh -git commit -a --amend --no-edit -git push -f