forked from ging/fiware-draco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (36 loc) · 1.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
branches:
only:
- master
jobs:
include:
- stage: test
name: "Unit Tests: Java 8"
language: java
dist: trusty
jdk:
- oraclejdk8
before_install:
- wget http://apache.mirror.gtcomm.net/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
- tar xzvf apache-maven-3.6.3-bin.tar.gz
- export PATH=`pwd`/apache-maven-3.6.3/bin:$PATH
- mvn -v
- cd nifi-ngsi-bundle
install:
- mvn -s ../settings.xml install -DskipTests=true -Dmaven.javadoc.skip=true -Padd-dependencies-for-IDEA > maven-install.log
before_script:
- mvn -s ../settings.xml verify -Padd-dependencies-for-IDEA > maven-verify.log
script:
- cd nifi-ngsi-processors
- mvn -s ../../settings.xml clean test -Dtest=Test* cobertura:cobertura coveralls:report -Padd-dependencies-for-IDEA -DCOVERALLS_TOKEN=$COVERALLS_TOKEN
after_success:
- mvn clean cobertura:cobertura coveralls:report
- stage: test
name: "Documentation Tests"
language: node_js
node_js:
- "10"
install:
- npm install
script:
- npm run lint:md
- npm run lint:text