summaryrefslogtreecommitdiff
path: root/deps/node/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/.travis.yml')
-rw-r--r--deps/node/.travis.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/deps/node/.travis.yml b/deps/node/.travis.yml
new file mode 100644
index 00000000..2569b44e
--- /dev/null
+++ b/deps/node/.travis.yml
@@ -0,0 +1,34 @@
+language: cpp
+cache: ccache
+os: linux
+dist: xenial
+matrix:
+ include:
+ - name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
+ if: type = pull_request
+ language: node_js
+ node_js: "node"
+ script:
+ - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
+ bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
+ fi
+ - name: "Linter"
+ language: node_js
+ node_js: "node"
+ env:
+ - NODE=$(which node)
+ script:
+ - make lint
+ - name: "Test Suite"
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-6
+ install:
+ - export CC='ccache gcc-6' CXX='ccache g++-6' JOBS=2
+ - ./configure
+ - make -j2 V=
+ script:
+ - PARALLEL_ARGS='--flaky-tests=skip' make -j1 test