Fixed migration test condition for prefix branches

Both the littlefs-fuse and littlefs-migration test jobs depend on
the external littlefs-fuse repo. But unfortunately, the automatic
patching to update the external repo with the version under test
does not work with the prefix branches.

In this case we can just skip these tests, they've already been tested
multiple times to get to this point.
This commit is contained in:
Christopher Haster
2019-04-16 18:29:44 -05:00
parent 0a1f706ca2
commit f35fb8c148

View File

@@ -136,6 +136,7 @@ jobs:
env: env:
- STAGE=test - STAGE=test
- NAME=littlefs-migration - NAME=littlefs-migration
if: branch !~ -prefix$
install: install:
- sudo apt-get install libfuse-dev - sudo apt-get install libfuse-dev
- git clone --depth 1 https://github.com/geky/littlefs-fuse -b v2-alpha v2 - git clone --depth 1 https://github.com/geky/littlefs-fuse -b v2-alpha v2