Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .travis.yml

Issue 29663688: Issue 6220 - add travis-ci configuration for adblockpluscore (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: Created Jan. 11, 2018, 9:33 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | .travis/prepare-emscripten.sh » ('j') | .travis/prepare-ninja.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | .travis/prepare-emscripten.sh » ('j') | .travis/prepare-ninja.sh » ('J')

Powered by Google App Engine
This is Rietveld