Skip to content

Commit 1ad3fe8

Browse files
authored
Update travis config (#38)
* update travis - attempting to fix deb and rpm generation issues * tweaking * attempting to build web component via travis * travis.yml update * travis.yml update * travis.yml update * travis.yml update * travis.yml update * travis.yml update
1 parent 9de5a62 commit 1ad3fe8

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.travis.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@ sudo: required
22
dist: trusty
33
language: java
44
jdk:
5-
- oraclejdk8
5+
- oraclejdk8
66
install:
7-
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dskip.web.build=true -B
8-
-V
7+
- npm install webpack -g
8+
- pwd
9+
- cd ../
10+
- git clone -b "2.3.2" https://github.com/Graylog2/graylog2-server.git
11+
- cd graylog2-server/graylog2-web-interface
12+
- npm install
13+
- webpack --config webpack.vendor.js
14+
- pwd
15+
- cd ../../graylog-plugin-quickvaluesplus-widget
16+
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
917
script:
10-
- mvn test -Dskip.web.build=true -B
18+
- mvn test
1119
addons:
1220
apt:
1321
packages:
14-
- rpm
22+
- rpm
1523
before_deploy:
1624
- mvn jdeb:jdeb && export RELEASE_DEB_FILE=$(ls target/*.deb)
1725
- mvn rpm:rpm && export RELEASE_RPM_FILE=$(find target/ -name '*.rpm' | tail -1)
@@ -24,11 +32,11 @@ deploy:
2432
secure: e1lIcnvHdc3suR294QbSBKKH4bUewTZztslx1zA0wofFJwcYg76yrcbUIbrC6ZsrxVovVIJaeMIkgwYhaUfZaipq3/jolx8V3acYYUPNfoglamxWBinCoO85SmXQWnLjgEgt5B+HaRz/TK3BBhAifq5/jSwqUbmegkDnYLIxQ5BsRKKYIXeHQ55Mv+QEhofNSpexCS4t1OUByFPihUIyWcdsUvmMQ6SELiWW7ootFHexifU8usJ58BUSmmHmuItLxdF7CV8qA1HAc/sgroN+JHHznpSusfRb7eyO3RykqoAByYhk/K/cp5TtQwRzlBJCnMVkcsuDIYSjgQFFrHh4vg24sfq4fuxhLthYI6Lsff9/JhRf8kpNeSwV1UrkEf9BY3qtYsRI4VFCn9bvfloRxd+zos4PBkRPKYDWS/aKHplM2ElbVdRkiU5AvA3vcbupSbfYlznEfY2fZ7ehaWA3Y3ZvvmAAAUD0zU9aOg8EoKSdYdPiTPLYNCZnm5Mj3Ly6H56axW7jPmkhjt7dODLqcG2O/6QF+JncTd6o+QoGlF658jvfShwbxRKu3840NkofT7o0X6uZN9vZmzsFmOYwKcmItjyg/Yte0bXM4poklYMF+EmRD1yQoSvewXNylqM92zCHWCSqbJpeeEyNIRQwTXm+nICXbp0NxVcEU9FxAXM=
2533
file_glob: true
2634
file:
27-
- "**/target/*.jar"
28-
- "**/target/*.deb"
29-
- "**/target/**/*.rpm"
35+
- "${RELEASE_PKG_FILE}"
36+
- "${RELEASE_DEB_FILE}"
37+
- "${RELEASE_RPM_FILE}"
3038
skip_cleanup: true
3139
on:
3240
repo: billmurrin/graylog-plugin-quickvaluesplus-widget
3341
tags: true
34-
jdk: oraclejdk8
42+
jdk: oraclejdk8

0 commit comments

Comments
 (0)