File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 7
7
- g++-4.8
8
8
script :
9
9
- export CXX="g++-4.8" CC="gcc-4.8"
10
+ # Build default configuration
10
11
- make dist
12
+ # Build configuration with SPIFFS_USE_MAGIC_LENGTH=0 (legacy version)
13
+ - make clean
14
+ - make dist BUILD_CONFIG_NAME="-no_magic_length" CFLAGS="-DSPIFFS_USE_MAGIC_LENGTH=0"
15
+
11
16
notifications :
12
17
email :
13
18
recipients :
@@ -19,7 +24,8 @@ deploy:
19
24
skip_cleanup : true
20
25
api_key :
21
26
secure : " AdgaAHsU3xkyKqcZu6Yp3njmWTXFm/Ggsq9n6cC9byHTDdcQ6UqdX1gPzud53YkSDbUjst5vok0i9xywH2pFWVt6G+FAD5uI/h1IiacQQ9rjnDef++nz+KkZtsPUhAD8LOdKPvJ7TmNNnkN35VFqyQETr/18bdzGC0tEZQK2BFQQrdz6cOGeez1ADYal0LAVHHcfolnwZb9jCT51nPEpSMlhxwSNNFncG2Y8MLDT2Q1y0xR3iI6aSSkMxqWCYYIdEC12rffwyRbC2P+JXp+AXNayLuKjCFnWB/QIyvrvoXtwbAEfW1pZzrWZAI5fI6zQaKKjixhf3Kr1f7y/xSPSdsPemdakRgANRTZW0R6wiXxUsTEjVGV6fWqUKT9pm335k8vWq2i+6exSrIVmYyxz4J3u6+Mgdbij5hI1NLVLq+It0KUVt99IOWaTOy01y6a0m1AprYYPgyw7fwlgChMPsLcaRrq1gtjtJr7wQKLaIlfYdEB4b0DtE/fx+b78mMQqXS/WvwSUGkJ5C2poLX2zdUxFe3phjeL3P0Daa0gLDQ2tCf/VmvPy20//b7MaO10URoeeV16fs+2BFzLjh38kzLRrPaRcBcwQFlzI1P+4mWPRDMuKvBn6i0sodFEzlUQMFSa8xyVtE5wIDLqepeG/9roW8woKIAmwG1k1YtM3XeE="
22
- file : mkspiffs-$TRAVIS_TAG-linux64.tar.gz
27
+ file_glob : true
28
+ file : mkspiffs-$TRAVIS_TAG-*linux64.tar.gz
23
29
on :
24
30
repo : igrr/mkspiffs
25
31
tags : true
Original file line number Diff line number Diff line change
1
+ BUILD_CONFIG_NAME ?=
2
+
1
3
ifeq ($(OS ) ,Windows_NT)
2
4
TARGET_OS := WINDOWS
3
5
DIST_SUFFIX := windows
@@ -50,7 +52,7 @@ override CXXFLAGS := -std=gnu++11 -Os -Wall $(TARGET_CXXFLAGS) $(CXXFLAGS)
50
52
override LDFLAGS := $(TARGET_LDFLAGS ) $(LDFLAGS )
51
53
override CPPFLAGS := $(INCLUDES ) -D$(TARGET_OS ) -DVERSION=\"$(VERSION ) \" -D__NO_INLINE__ $(CPPFLAGS )
52
54
53
- DIST_NAME := mkspiffs-$(VERSION ) -$(DIST_SUFFIX )
55
+ DIST_NAME := mkspiffs-$(VERSION )$( BUILD_CONFIG_NAME ) -$(DIST_SUFFIX )
54
56
DIST_DIR := $(DIST_NAME )
55
57
DIST_ARCHIVE := $(DIST_NAME ) .$(ARCHIVE_EXTENSION )
56
58
Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ matrix:
11
11
12
12
build_script :
13
13
- SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
14
+ # Build default configuration
14
15
- make dist
16
+ # Build configuration with SPIFFS_USE_MAGIC_LENGTH=0 (legacy version)
17
+ - make clean
18
+ - make dist BUILD_CONFIG_NAME="-no_magic_length" CFLAGS="-DSPIFFS_USE_MAGIC_LENGTH=0"
15
19
16
20
artifacts :
17
21
- path : ' *.zip'
You can’t perform that action at this time.
0 commit comments