diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..30a4529 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: c + +dist: focal + +os: + - linux + - osx + +compiler: + - gcc + - clang + +addons: + apt: + packages: + - ninja-build + +# macos builds are too slow on travis, and now brew update doesn't work without additional configuration +#before_install: +# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi +# +#install: +# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi + +script: + - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then scripts/initbuild.sh ninja; fi + - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then scripts/test.sh; fi + - scripts/initbuild.sh make-concurrent + - scripts/test.sh |