You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2019/05/17 20:34:50 UTC

[mynewt-core] branch travis-testing updated (31990f5 -> b66d5db)

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a change to branch travis-testing
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.


 discard 31990f5  [WIP] Add style check commit
     new b66d5db  [WIP] Add style check commit

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (31990f5)
            \
             N -- N -- N   refs/heads/travis-testing (b66d5db)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


[mynewt-core] 01/01: [WIP] Add style check commit

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch travis-testing
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit b66d5db0c0ab1d6bb0e0558dc385c0736f9d3282
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Fri May 17 13:34:59 2019 -0700

    [WIP] Add style check commit
---
 .travis.yml | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d246723..0242d64 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,6 +42,11 @@ matrix:
         - TEST=RAT
         - DEBUG=1
 
+    # Run style checks
+    - os: linux
+      env:
+        - TEST=STYLE
+
     # newt build <targets>
     - os: linux
       env:
@@ -129,14 +134,16 @@ matrix:
 before_install:
   - printenv
   - export GOPATH=$HOME/gopath
-  - if [ "${TEST}" != "RAT" ]; then go version; fi
+  - if [ "${TEST}" != "RAT" && "${TEST}" != "STYLE" ]; then go version; fi
 
 install:
-  - git clone https://github.com/runtimeco/mynewt-travis-ci $HOME/ci
+  - git clone https://github.com/utzig/mynewt-travis-ci -b style-checks $HOME/ci
   - chmod +x $HOME/ci/*.sh
   - |
     if [ "${TEST}" == "RAT" ]; then
       pip install requests
+    elif [ "${TEST}" == "STYLE" ]; then
+      # TODO
     else
       $HOME/ci/${TRAVIS_OS_NAME}_travis_install.sh
     fi
@@ -163,10 +170,12 @@ script:
                          pic32mx470_6lp_clicker pic32mz2048_wi-fire sensorhub
                          native"
   - |
-    if [ "${TEST}" != "RAT" ]; then
-      $HOME/ci/run_test.sh
-    else
+    if [ "${TEST}" == "RAT" ]; then
       python $HOME/ci/check_license.py
+    elif [ "${TEST}" == "STYLE" ]; then
+      $HOME/ci/check_style.sh
+    else
+      $HOME/ci/run_test.sh
     fi
 
 cache: