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/04/12 14:07:07 UTC

[mynewt-core] branch master updated: Fix copying CI targets

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0645266  Fix copying CI targets
0645266 is described below

commit 06452668c68386e9ee74e7660e9a3f4d69ac50a2
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Fri Apr 12 09:48:06 2019 -0300

    Fix copying CI targets
    
    CI currently expects target tree inside targets directory and uses
    a hardcoded path. The targets directory might not exist on some of
    the repos tested, so create it first here. CI will be updated to use
    the repo slug to determine which repo's targets it should build.
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 044920c..d246723 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -148,6 +148,7 @@ before_script:
       gcc --version
       if [ "${TEST}" != "TEST_ALL" ]; then arm-none-eabi-gcc --version; fi
       cp -R $HOME/ci/mynewt-core-project.yml project.yml
+      mkdir -p targets
       cp -R $HOME/ci/mynewt-core-targets targets
       newt install
       # pass in the number of target sets