diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-08 12:18:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-08 12:30:16 +0300 |
commit | 0c45168da34d7b85ec0293f6fa78cf1994c757b9 (patch) | |
tree | 432f79aa5288a46181e6b4a56523b1a0b9e104cd /.travis.yml | |
parent | README: add AppVeyor badge (diff) | |
download | winapi-utf8-0c45168da34d7b85ec0293f6fa78cf1994c757b9.tar.gz winapi-utf8-0c45168da34d7b85ec0293f6fa78cf1994c757b9.zip |
add Travis configuration
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2a284e0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,47 @@ +# Linux builds are only to make sure the project can be built w/ MinGW-w64 & +# GCC. + +language: cpp +os: linux +dist: focal + +env: + global: + boost_version: 1.65.0 + jobs: + # Building only Debug is fine, it's not going anywhere anyway: + - configuration=Debug platform=x86 + - configuration=Debug platform=x64 + #- configuration=Release platform=x86 + #- configuration=Release platform=x64 + +before_script: + - cd cmake + - >- + python3 -m project.ci.travis.boost + --mingw + -- + --with-test + +script: >- + python3 -m project.ci.travis.cmake + --install "$HOME/install" + --mingw + +jobs: + fast_finish: true + + _clear: &clear + language: minimal + before_script: [] + script: [] + + include: + - <<: *clear + name: Run clang-format + if: branch = master + addons: + apt: + packages: + - clang-format-9 + script: ./cmake/tools/clang-format.py --clang-format clang-format-9 |