Skip to content

Commit 8ccb799

Browse files
committed
ci: Fix Travis config typo
1 parent c52a817 commit 8ccb799

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ before_install:
2222
sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
2323
echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
2424
fi
25-
- npm install -g npm@6.x
2625
- sudo apt-get update
2726
- sudo apt-get install python
2827
install:
@@ -39,15 +38,15 @@ script:
3938
&& tar xvf secrets.tar
4039
|| true'
4140
- if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi
42-
- "./gradlew install -x check"
41+
- if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./gradlew install -x check; fi
4342
- "./gradlew checkstyleMain"
4443
- "./gradlew checkstyleTest"
4544
- "./gradlew shadowJar"
4645
- "./gradlew codeCoverageReport --continue"
4746
- "./gradlew docs > /dev/null"
4847
after_success:
4948
- bash <(curl -s https://codecov.io/bash)
50-
before deploy:
49+
before_deploy:
5150
- nvm install 12
5251
- npm install @semantic-release/changelog
5352
- npm install @semantic-release/exec

0 commit comments

Comments
 (0)