Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 78d964a..4b59af8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -208,6 +208,38 @@ jobs:
script:
- make test TFLAGS+="-k --valgrind"
+ # test compilation in read-only mode
+ - stage: test
+ env:
+ - NAME=littlefs-readonly
+ - CC="arm-linux-gnueabi-gcc --static -mthumb"
+ - CFLAGS="-Werror -DLFS_READONLY"
+ if: branch !~ -prefix$
+ install:
+ - *install-common
+ - sudo apt-get install
+ gcc-arm-linux-gnueabi
+ libc6-dev-armel-cross
+ - arm-linux-gnueabi-gcc --version
+ # report-size will compile littlefs and report the size
+ script: [*report-size]
+
+ # test compilation in thread-safe mode
+ - stage: test
+ env:
+ - NAME=littlefs-threadsafe
+ - CC="arm-linux-gnueabi-gcc --static -mthumb"
+ - CFLAGS="-Werror -DLFS_THREADSAFE"
+ if: branch !~ -prefix$
+ install:
+ - *install-common
+ - sudo apt-get install
+ gcc-arm-linux-gnueabi
+ libc6-dev-armel-cross
+ - arm-linux-gnueabi-gcc --version
+ # report-size will compile littlefs and report the size
+ script: [*report-size]
+
# self-host with littlefs-fuse for fuzz test
- stage: test
env: