From b38d0b6b43a4eaab1c85a07739eda7a475ccb07f Mon Sep 17 00:00:00 2001 From: Ian Duffy Date: Mon, 1 Sep 2014 11:22:36 +0100 Subject: [PATCH] Fix RAT issue --- .travis.yml | 17 +++++++++++++++++ tools/travis/after_failure.sh | 16 ++++++++++++++++ tools/travis/after_script.sh | 16 ++++++++++++++++ tools/travis/after_success.sh | 16 ++++++++++++++++ tools/travis/before_install.sh | 16 ++++++++++++++++ tools/travis/before_script.sh | 16 ++++++++++++++++ tools/travis/install.sh | 16 ++++++++++++++++ tools/travis/script.sh | 16 ++++++++++++++++ tools/travis/xunit-reader.py | 19 +++++++++++++++++-- 9 files changed, 146 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 007d46654cf..bc9b713bd0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,20 @@ +# 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 cache: directories: diff --git a/tools/travis/after_failure.sh b/tools/travis/after_failure.sh index d0ea01d731a..1bc22aa720c 100755 --- a/tools/travis/after_failure.sh +++ b/tools/travis/after_failure.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # As the filename suggests, this is executed on build failure # failure. diff --git a/tools/travis/after_script.sh b/tools/travis/after_script.sh index 721de641518..17a9d5356bd 100755 --- a/tools/travis/after_script.sh +++ b/tools/travis/after_script.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # This script should run any tear down commands required. # diff --git a/tools/travis/after_success.sh b/tools/travis/after_success.sh index 5ca7ff02395..67b87454d08 100755 --- a/tools/travis/after_success.sh +++ b/tools/travis/after_success.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # As the filename suggests this is executed on build success. # diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh index aff3e56305d..249baedfe15 100755 --- a/tools/travis/before_install.sh +++ b/tools/travis/before_install.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # This script should be used to install additional dependencies # This includes: installing ubuntu packages, custom services diff --git a/tools/travis/before_script.sh b/tools/travis/before_script.sh index 607ed1b723f..1d17769eaac 100755 --- a/tools/travis/before_script.sh +++ b/tools/travis/before_script.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # This script should be used to bring up the environment. # diff --git a/tools/travis/install.sh b/tools/travis/install.sh index f8b22d43b83..ceab8d13029 100755 --- a/tools/travis/install.sh +++ b/tools/travis/install.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # This should be used to create the build. # diff --git a/tools/travis/script.sh b/tools/travis/script.sh index 72b9ee20a23..44a55a95bf3 100755 --- a/tools/travis/script.sh +++ b/tools/travis/script.sh @@ -1,4 +1,20 @@ #!/bin/bash +# 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. # # This script should be responsible for bring up the # test environment and executing the tests. diff --git a/tools/travis/xunit-reader.py b/tools/travis/xunit-reader.py index 8cf8fe8b33e..ffabbd45a6d 100755 --- a/tools/travis/xunit-reader.py +++ b/tools/travis/xunit-reader.py @@ -1,5 +1,20 @@ -# !/usr/bin/env python -# encoding: utf-8 +#!/usr/bin/env python +# 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. """ This script provides parsing of xunit xml files.