Index: .travis.yml |
diff --git a/.travis.yml b/.travis.yml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..58321c05d23f16b14bfe5fc39deefc3be406c677 |
--- /dev/null |
+++ b/.travis.yml |
@@ -0,0 +1,40 @@ |
+language: cpp |
+ |
+os: |
+- linux |
+- osx |
+ |
+dist: trusty |
+ |
+python: '2.7' |
+ |
+addons: |
+ apt: |
+ packages: |
+ - python3-pip |
+ |
+env: |
+ global: |
+ - PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja |
+ matrix: |
+ - BUILDTYPE=release |
+ - BUILDTYPE=debug |
+ |
+install: |
+ - nvm install 8.9.4 |
+ - mkdir -p third_party |
+ - bash .travis/prepare-emscripten.sh |
+ - bash .travis/prepare-ninja.sh |
+ - pip3 install -q --user meson |
sergei
2018/01/11 22:04:09
we cannot install meson via apt-get because the ve
|
+ |
+before_script: |
+ - ./ensure_dependencies.py |
+ - npm install |
+ |
+script: |
+ - meson --buildtype ${BUILDTYPE} build/${BUILDTYPE} |
+ - ninja -C build/${BUILDTYPE} |
+ - npm test |
+ |
+notifications: |
+ email: false |
tlucas
2018/01/17 12:41:39
Do we not want to be notified about failed builds?
sergei
2018/01/17 14:26:25
See https://codereview.adblockplus.org/29663680/di
|