Created
June 16, 2020 18:49
-
-
Save eliasnogueira/fc0d4bd9730043f66843ea52071d53f5 to your computer and use it in GitHub Desktop.
Example of a pipeline script using GitLab CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: markhobson/maven-chrome:jdk-11 | |
stages: | |
- build | |
- test | |
variables: | |
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" | |
cache: | |
paths: | |
- .m2/repository/ | |
- target/ | |
build: | |
stage: build | |
script: | |
- mvn compile | |
test: | |
stage: test | |
script: | |
- mvn test -Dtest=com.eliasnogueira.wdm.GithubWDMPageTest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment