aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 24a182cf..394282ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,20 +1,24 @@
language: cpp
+
matrix:
include:
- - os: linux
- dist: trusty
- compiler: gcc
- - os: linux
- dist: trusty
- compiler: clang
+ - { os: linux, dist: trusty, compiler: gcc }
+ - { os: linux, dist: trusty, compiler: clang }
- os: osx
+
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; else sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install qt5; export PATH="$PATH:/usr/local/opt/qt/bin"; else sudo apt-get install -y qt5-default; fi
+ - git clone https://github.com/matrix.org/matrix-doc
+ - git clone https://github.com/KitsuneRal/api-generator
+ - cd api-generator && mkdir build && cd build && cmake .. && cmake --target all
+
+before_script:
- mkdir build && cd build
- - cmake ..
-script:
- - cmake --build . --target all
+ - cmake -DMATRIX_DOC_PATH="matrix-doc" -DAPIGEN_PATH="api-generator/build/api-generator" ..
+
+script: cmake --build . --target all
+
notifications:
webhooks:
urls: