|
1 | | -# Licensed to the Apache Software Foundation (ASF) under one or more |
2 | | -# contributor license agreements. See the NOTICE file distributed with |
3 | | -# this work for additional information regarding copyright ownership. |
4 | | -# The ASF licenses this file to You under the Apache License, Version 2.0 |
5 | | -# (the "License"); you may not use this file except in compliance with |
6 | | -# the License. You may obtain a copy of the License at |
7 | | -# |
8 | | -# http://www.apache.org/licenses/LICENSE-2.0 |
9 | | -# |
10 | | -# Unless required by applicable law or agreed to in writing, software |
11 | | -# distributed under the License is distributed on an "AS IS" BASIS, |
12 | | -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | -# See the License for the specific language governing permissions and |
14 | | -# limitations under the License. |
15 | | - |
16 | | -language: java |
17 | | -sudo: false |
18 | | - |
19 | | -addons: |
20 | | - apt: |
21 | | - packages: |
22 | | - - openjdk-6-jdk |
23 | | - |
24 | | -# use java 6 compatible maven version (installed into target directory so rat check passes) |
25 | | -before_install: |
26 | | - - wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip -P ./target |
27 | | - - unzip -qq ./target/apache-maven-3.2.5-bin.zip -d ./target |
28 | | - - export M2_HOME=$PWD/target/apache-maven-3.2.5 |
29 | | - - export PATH=$M2_HOME/bin:$PATH |
30 | | - |
31 | | -jdk: |
32 | | - - openjdk6 |
33 | | - - openjdk7 |
34 | | - - oraclejdk8 |
35 | | - |
36 | | -script: |
37 | | - - mvn |
38 | | - |
39 | | -after_success: |
40 | | - - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco |
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 2 | +# contributor license agreements. See the NOTICE file distributed with |
| 3 | +# this work for additional information regarding copyright ownership. |
| 4 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 5 | +# (the "License"); you may not use this file except in compliance with |
| 6 | +# the License. You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | +language: java |
| 17 | +sudo: false |
| 18 | + |
| 19 | +jdk: |
| 20 | + - openjdk7 |
| 21 | + - openjdk8 |
| 22 | + - oraclejdk8 |
| 23 | + |
| 24 | +script: |
| 25 | + - mvn |
| 26 | + |
| 27 | +after_success: |
| 28 | + - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco |
0 commit comments