Browse Source

Update travis settings

pull/2411/head
Igor Kulikov 7 years ago
parent
commit
832c45fded
  1. 29
      .travis.settings.xml
  2. 5
      .travis.yml
  3. 4
      pom.xml

29
.travis.settings.xml

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2016-2019 The Thingsboard Authors
Licensed 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.
-->
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<mirrors>
<mirror>
<id>gradle-fix</id>
<name>Gradle fix</name>
<url>https://repo.gradle.org/gradle/libs-releases-local</url>
<mirrorOf>gradle</mirrorOf>
</mirror>
</mirrors>
</settings>

5
.travis.yml

@ -3,10 +3,11 @@ before_install:
- export M2_HOME=/usr/local/maven
- export MAVEN_OPTS="-Dmaven.repo.local=$HOME/.m2/repository -Xms1024m -Xmx3072m"
- export HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE=false
- cp .travis.settings.xml $HOME/.m2/settings.xml
jdk:
- oraclejdk8
- openjdk8
language: java
sudo: required
services:
- docker
script: mvn clean verify -Ddockerfile.skip=false -DblackBoxTests.skip=false -DblackBoxTests.skipTailChildContainers=true
script: mvn clean verify -Ddockerfile.skip=false

4
pom.xml

@ -893,7 +893,7 @@
<repositories>
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2/</url>
<url>https://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>spring-snapshots</id>
@ -914,7 +914,7 @@
<repository>
<id>typesafe</id>
<name>Typesafe Repository</name>
<url>http://repo.typesafe.com/typesafe/releases/</url>
<url>https://repo.typesafe.com/typesafe/releases/</url>
</repository>
<repository>
<id>sonatype</id>

Loading…
Cancel
Save