Skip to content

Commit

Permalink
travis with script execute tests unit
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloalvesdev committed Jan 17, 2023
1 parent 52fd5a0 commit 1d30f1f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/unit-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
export MAVEN_OPTS="-Xmx1G -Xms128m"
mvn package -Dgroups="unit-tests"
21 changes: 21 additions & 0 deletions travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: java

dist: trusty

jdk:
- openjdk17

sudo: true

before_install:
- chmod +x mvnw

script:
- chmod +x ./.ci/unit-tests.sh
- ./.ci/unit-tests.sh

codecov:
token: 205491e7-89df-41f4-a231-abf4cc09e3f8

after_success:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 1d30f1f

Please sign in to comment.