]> git.mxchange.org Git - friendica.git/commitdiff
Add token for codecov & refactored some parts of drone.yml
authorPhilipp Holzer <admin+github@philipp.info>
Mon, 30 Sep 2019 12:02:40 +0000 (14:02 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Mon, 30 Sep 2019 12:03:29 +0000 (14:03 +0200)
.codecov.yml
.drone.yml

index fb62e8415175f7cf5a1fb6af5588a5a14b4dc8ae..0c54747c9534fc66815cdf8c6578b38d8f99a8c8 100644 (file)
@@ -2,7 +2,6 @@ codecov:
   branch: develop
   ci:
     - drone.friendi.ca
-    - !scrutinizer-ci.com
 
 coverage:
   precision: 2
index 4ccc6bfce7e944c7625fa37cdb8be9646f56c7f5..65211da2cf0a4a798c518f47d3ffb00590676b3a 100644 (file)
@@ -129,8 +129,8 @@ steps:
       - sleep 20
       - ./autotest.sh mariadb
       - wget https://codecov.io/bash -O codecov.sh
-      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
-      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
   environment:
       MYSQL_USER: friendica
       MYSQL_PASSWORD: friendica
@@ -231,14 +231,6 @@ volumes:
   - name: cache
     temp: {}
 
-trigger:
-  branch:
-    - master
-    - develop
-    - "*-rc"
-  event:
-    - pull_request
-    - push
 ---
 kind: pipeline
 name: redis-php7.1
@@ -251,8 +243,8 @@ steps:
     - sleep 20
     - NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
     - wget https://codecov.io/bash -O codecov.sh
-    - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
-    - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
+    - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
+    - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
   environment:
       REDIS_HOST: redis
 
@@ -308,15 +300,6 @@ services:
 - name: redis
   image: redis
 
-trigger:
-  branch:
-    - master
-    - develop
-    - "*-rc"
-  event:
-    - pull_request
-    - push
-
 ---
 kind: pipeline
 name: memcache-php7.1
@@ -329,8 +312,8 @@ steps:
       - sleep 20
       - NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
       - wget https://codecov.io/bash -O codecov.sh
-      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
-      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
   environment:
       MEMCACHE_HOST: memcached
 
@@ -386,16 +369,6 @@ services:
 - name: memcached
   image: memcached
 
-trigger:
-  branch:
-    - master
-    - develop
-    - "*-rc"
-  event:
-    - pull_request
-    - push
-
-
 ---
 kind: pipeline
 name: memcached-php7.1
@@ -408,8 +381,8 @@ steps:
       - sleep 20
       - NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
       - wget https://codecov.io/bash -O codecov.sh
-      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
-      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
+      - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
   environment:
       MEMCACHED_HOST: memcached
 
@@ -464,12 +437,3 @@ steps:
 services:
 - name: memcached
   image: memcached
-
-trigger:
-  branch:
-    - master
-    - develop
-    - "*-rc"
-  event:
-    - pull_request
-    - push