Repository: commons-crypto Updated Branches: refs/heads/master 297a968e0 -> 50e4e0fe1
CRYPTO-69: Activate Travis CI Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/50e4e0fe Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/50e4e0fe Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/50e4e0fe Branch: refs/heads/master Commit: 50e4e0fe16d7f0ec1c1f33fe1d00374f09ddcd44 Parents: 297a968 Author: Sun Dapeng <s...@apache.org> Authored: Mon Jun 13 14:10:12 2016 +0800 Committer: Sun Dapeng <s...@apache.org> Committed: Thu Jun 16 10:42:07 2016 +0800 ---------------------------------------------------------------------- .travis.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/50e4e0fe/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d23d5a5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +language: java + +jdk: + - oraclejdk7 + - oraclejdk8 + +before_install: + - "curl -L --cookie 'oraclelicense=accept-securebackup-cookie;' http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip -o /tmp/policy.zip && sudo unzip -j -o /tmp/policy.zip *.jar -d `jdk_switcher home oraclejdk8`/jre/lib/security && rm /tmp/policy.zip" + +script: + - mvn apache-rat:check + - mvn clean test + - jdk_switcher use oraclejdk7 + - mvn test -Pfindbugs + - jdk_switcher use oraclejdk8 + - mvn test -Pfindbugs + - mvn clean site