Просмотр исходного кода

added statless extension to travis build

Stasik0 лет назад: 10
Родитель
Сommit
1dc2329a87
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      .travis.yml
  2. 1 1
      CMakeLists.txt

+ 1 - 1
.travis.yml

@@ -47,7 +47,7 @@ script:
    - make -j
    - cd .. && rm build -rf && mkdir -p build && cd build
    - echo "Production build"
-   - cmake -DGENERATE_DOCUMENTATION=ON .. 
+   - cmake -DEXAMPLESERVER=ON -DEXTENSION_STATELESS=ON -DGENERATE_DOCUMENTATION=ON .. 
    - make -j
    - echo "Generate documentation"
    - make -j doc

+ 1 - 1
CMakeLists.txt

@@ -16,7 +16,7 @@ endif()
 
 # compiler flags
 if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
-add_definitions(-std=c99 -pipe -Wall -Wextra -Werror -Wformat
+add_definitions(-std=c99 -Os -pipe -Wall -Wextra -Werror -Wformat
                 -Wno-unused-parameter -Wno-unused-function -Wno-unused-label -Wpointer-arith -Wreturn-type -Wsign-compare -Wmultichar
                 -Wshadow -Wcast-qual -Wmissing-prototypes -Wstrict-prototypes # -Wconversion
                 -Winit-self -Wuninitialized -Wno-deprecated -Wformat-security -ffunction-sections -fdata-sections)