From e851411f7fd6a1e9f8e94caf92ef10699acb03a9 Mon Sep 17 00:00:00 2001
From: Simon Brandhof <simon.brandhof@sonarsource.com>
Date: Fri, 5 Feb 2016 16:51:05 +0100
Subject: Enable QA pipeline at SonarSource

---
 .travis.yml | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

(limited to '.travis.yml')

diff --git a/.travis.yml b/.travis.yml
index 19fdf98b294..c4d53d67376 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,16 +4,16 @@ install: true
 jdk: oraclejdk7
 script: ./travis.sh
 
-env:
-  - TARGET=CI
-  - TARGET=IT IT_CATEGORY=Category1
-  - TARGET=IT IT_CATEGORY=Category2
-  - TARGET=IT IT_CATEGORY=Category3
-  - TARGET=IT IT_CATEGORY=Category4
-  - TARGET=IT IT_CATEGORY=Plugins
-  - TARGET=POSTGRES
-  - TARGET=MYSQL
-  - TARGET=WEB
+#env:
+#  - TARGET=CI
+#  - TARGET=IT IT_CATEGORY=Category1
+#  - TARGET=IT IT_CATEGORY=Category2
+#  - TARGET=IT IT_CATEGORY=Category3
+#  - TARGET=IT IT_CATEGORY=Category4
+#  - TARGET=IT IT_CATEGORY=Plugins
+#  - TARGET=POSTGRES
+#  - TARGET=MYSQL
+#  - TARGET=WEB
 
 
 matrix:
@@ -27,9 +27,11 @@ cache:
     - 'server/sonar-web/node_modules'
 
 before_cache:
-  - 'find ~/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
-  - 'find ~/.m2/repository -name maven-metadata-\* -exec rm {} \;'
-  - 'find ~/.m2/repository -name resolver-status.properties -exec rm {} \;'
+  - 'find $HOME/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
+  - 'find $HOME/.m2/repository -name maven-metadata-\* -exec rm {} \;'
+  - 'find $HOME/.m2/repository -name resolver-status.properties -exec rm {} \;'
+  # remove all the artifacts (JAR, ZIP) that are installed in local repo because of mvn deploy
+  - rm -rf $HOME/.m2/repository/org/sonarsource/sonarqube
 
 notifications:
   email: false
-- 
cgit v1.2.3