-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from sanctuuary/dev
Release 1.2.0
- Loading branch information
Showing
53 changed files
with
2,063 additions
and
123 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
stages: | ||
- "Unit" | ||
- "Build" | ||
- "Lint" | ||
|
||
# Only build every commit on the master branch (pull requests on other branches are still built) | ||
branches: | ||
only: | ||
- master | ||
|
||
jobs: | ||
include: | ||
### Back-end | ||
|
||
# Back-end unit tests | ||
#- stage: "Unit" | ||
# name: "Unit test back-end" | ||
# language: java | ||
# jdk: openjdk11 | ||
# before_script: | ||
# - cd back-end | ||
# script: | ||
# - mvn test | ||
|
||
# Back-end build test | ||
- stage: "Build" | ||
name: "Build back-end" | ||
language: java | ||
jdk: openjdk11 | ||
before_script: | ||
- cd back-end | ||
script: | ||
- mvn package -DskipTests=true | ||
|
||
# Back-end lint test | ||
- stage: "Lint" | ||
name: "Lint back-end" | ||
language: java | ||
jdk: openjdk11 | ||
before_script: | ||
- cd back-end | ||
script: | ||
- mvn ktlint:check | ||
|
||
|
||
### Front-end | ||
|
||
# Front-end unit tests | ||
- stage: "Unit" | ||
name: "Unit test front-end" | ||
language: node_js | ||
node_js: 14 | ||
before_script: | ||
- cd front-end | ||
script: | ||
- npm install | ||
- npm run test | ||
|
||
# Front-end build test | ||
- stage: "Build" | ||
name: "Build front-end" | ||
language: node_js | ||
node_js: 14 | ||
before_script: | ||
- cd front-end | ||
script: | ||
- npm install | ||
- npm run build | ||
|
||
# Front-end lint test | ||
- stage: "Lint" | ||
name: "Lint front-end" | ||
language: node_js | ||
node_js: 14 | ||
before_script: | ||
- cd front-end | ||
script: | ||
- npm install | ||
- npm run lint |
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
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
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
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
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
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
Oops, something went wrong.