You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/10/24 14:50:46 UTC

[GitHub] michal-narajowski closed pull request #1479: [DNM] Travis test

michal-narajowski closed pull request #1479: [DNM] Travis test
URL: https://github.com/apache/mynewt-core/pull/1479
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index a95d997b58..16d4f8d776 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,89 +33,95 @@ git:
 
 matrix:
   include:
-    # newt build <targets>
     - os: linux
+      language: python
+      python:
+      - "3.5"
       env:
-        - TEST=BUILD_TARGETS
-        - VM_AMOUNT=4
-        - TARGET_SET=1
-    - os: linux
-      env:
-        - TEST=BUILD_TARGETS
-        - VM_AMOUNT=4
-        - TARGET_SET=2
-    - os: linux
-      env:
-        - TEST=BUILD_TARGETS
-        - VM_AMOUNT=4
-        - TARGET_SET=3
-    - os: linux
-      env:
-        - TEST=BUILD_TARGETS
-        - VM_AMOUNT=4
-        - TARGET_SET=4
-
-    # newt build <blinky-for-BSP>
-    - os: linux
-      env:
-        - TEST=BUILD_BLINKY
-        - VM_AMOUNT=4
-        - TARGET_SET=1
-    - os: linux
-      env:
-        - TEST=BUILD_BLINKY
-        - VM_AMOUNT=4
-        - TARGET_SET=2
-    - os: linux
-      env:
-        - TEST=BUILD_BLINKY
-        - VM_AMOUNT=4
-        - TARGET_SET=3
-    - os: linux
-      env:
-        - TEST=BUILD_BLINKY
-        - VM_AMOUNT=4
-        - TARGET_SET=4
-
-    # newt test all (Linux)
-    - os: linux
-      addons: *addon_conf
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=1
-    - os: linux
-      addons: *addon_conf
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=2
-    - os: linux
-      addons: *addon_conf
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=3
-
-    # newt test all (osx)
-    - os: osx
-      osx_image: xcode9.2
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=1
-    - os: osx
-      osx_image: xcode9.2
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=2
-    - os: osx
-      osx_image: xcode9.2
-      env:
-        - TEST=TEST_ALL
-        - VM_AMOUNT=3
-        - TARGET_SET=3
+      - secure: "esQQpGFEowqegecBpj4ja2UMj0+LS4sla3SVJF431SDyClAEIPK1T7hHtJbDG83ZTLc18HWUuCnKXbemvb1mfM+A2uKbrTmDF6cctVrT4Hym7YGtxaRvQgje4UbavSLg/DezqAldyRPpXdJsv8ObGp5husiH4DRaoB5CmsUcaZ/RHwz59U+lx39zFr5q8Fb5jSXngB6yGHFg6jDEf16BgwADU61n3ajtQcZfzZ95e5g9GdYYI3u+SzWQSpiuU8irVVxuzdTLHXd07rA27nw1PBidEUrGjnvEm4m6H/ZKAe0mMgyKF+WogCTiNydvgTLzFPhr+RV5q00kPy/mriM7d+EbKXQmovIVvzRjL1LKAGqZo2ge67DA0ePXbcL3nQAI/p1vm2p9pC9oP1ngKZSxNg/AWohcKyCE4IPcMqN6lxbkX1rmQp+hT5jaHlQTgOPv1N7XIrKdHPJO4naGROr6eUDrFF5U8mWlXyRFU5TgWinhPRlPhkTxH0MqvdeXGEaVM7ZVc5yTsB81OFPEC4erAFzsiYCIEu/mN1bHSCv7tqcZKU2OpinSR9CJoQK1PZZbY2ADQHq00AhzfKNFAUDhIjAneinyFrsXWVAcVNGcY3meDi4rYkJ0lqvMrvYpGfZYRbelRojN8Abvw+mViiafblBA++Y50TYWs7Maqh5CjOk="
+#    # newt build <targets>
+#    - os: linux
+#      env:
+#        - TEST=BUILD_TARGETS
+#        - VM_AMOUNT=4
+#        - TARGET_SET=1
+#    - os: linux
+#      env:
+#        - TEST=BUILD_TARGETS
+#        - VM_AMOUNT=4
+#        - TARGET_SET=2
+#    - os: linux
+#      env:
+#        - TEST=BUILD_TARGETS
+#        - VM_AMOUNT=4
+#        - TARGET_SET=3
+#    - os: linux
+#      env:
+#        - TEST=BUILD_TARGETS
+#        - VM_AMOUNT=4
+#        - TARGET_SET=4
+#
+#    # newt build <blinky-for-BSP>
+#    - os: linux
+#      env:
+#        - TEST=BUILD_BLINKY
+#        - VM_AMOUNT=4
+#        - TARGET_SET=1
+#    - os: linux
+#      env:
+#        - TEST=BUILD_BLINKY
+#        - VM_AMOUNT=4
+#        - TARGET_SET=2
+#    - os: linux
+#      env:
+#        - TEST=BUILD_BLINKY
+#        - VM_AMOUNT=4
+#        - TARGET_SET=3
+#    - os: linux
+#      env:
+#        - TEST=BUILD_BLINKY
+#        - VM_AMOUNT=4
+#        - TARGET_SET=4
+#
+#    # newt test all (Linux)
+#    - os: linux
+#      addons: *addon_conf
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=1
+#    - os: linux
+#      addons: *addon_conf
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=2
+#    - os: linux
+#      addons: *addon_conf
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=3
+#
+#    # newt test all (osx)
+#    - os: osx
+#      osx_image: xcode9.2
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=1
+#    - os: osx
+#      osx_image: xcode9.2
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=2
+#    - os: osx
+#      osx_image: xcode9.2
+#      env:
+#        - TEST=TEST_ALL
+#        - VM_AMOUNT=3
+#        - TARGET_SET=3
 
 before_install:
   - printenv
@@ -123,28 +129,29 @@ before_install:
   - go version
 
 install:
-  - git clone https://github.com/runtimeco/mynewt-travis-ci $HOME/ci
+  - git clone -b test-comment https://github.com/michal-narajowski/mynewt-travis-ci $HOME/ci
   - chmod +x $HOME/ci/*.sh
-  - $HOME/ci/${TRAVIS_OS_NAME}_travis_install.sh
+#  - $HOME/ci/${TRAVIS_OS_NAME}_travis_install.sh
 
 before_script:
-  - newt version
-  - gcc --version
-  - if [ "${TEST}" != "TEST_ALL" ]; then arm-none-eabi-gcc --version; fi
-  - cp -R $HOME/ci/mynewt-core-project.yml project.yml
-  - cp -R $HOME/ci/mynewt-core-targets targets
-  - newt install
-    # pass in the number of target sets
-  - $HOME/ci/prepare_test.sh $VM_AMOUNT
+#  - newt version
+#  - gcc --version
+#  - if [ "${TEST}" != "TEST_ALL" ]; then arm-none-eabi-gcc --version; fi
+#  - cp -R $HOME/ci/mynewt-core-project.yml project.yml
+#  - cp -R $HOME/ci/mynewt-core-targets targets
+#  - newt install
+#    # pass in the number of target sets
+#  - $HOME/ci/prepare_test.sh $VM_AMOUNT
 
 script:
   # the following list of targets are known to fail building blinky, or
   # might have extra dependencies hard to provide, non-common toolchains, etc
   # NOTE: "native" is here to avoid having to install gcc-multilib
-  - export IGNORED_BSPS="ci40 embarc_emsk hifive1 native-armv7 native-mips
-                         pic32mx470_6lp_clicker pic32mz2048_wi-fire sensorhub
-                         native"
-  - $HOME/ci/run_test.sh
+#  - export IGNORED_BSPS="ci40 embarc_emsk hifive1 native-armv7 native-mips
+#                         pic32mx470_6lp_clicker pic32mz2048_wi-fire sensorhub
+#                         native"
+#  - $HOME/ci/run_test.sh
+  - python $HOME/ci/check_license.py
 
 cache:
   directories:
diff --git a/file.txt b/file.txt
new file mode 100644
index 0000000000..b2915093d4
--- /dev/null
+++ b/file.txt
@@ -0,0 +1,18 @@
+# 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.
+xxx
+
diff --git a/newfile.txt b/newfile.txt
new file mode 100644
index 0000000000..ab0fc3ec53
--- /dev/null
+++ b/newfile.txt
@@ -0,0 +1,2 @@
+blblalblablab
+


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services