From 0c99c5563fc336b116ac872ed59e0c5fa9aee1e2 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 25 Aug 2016 11:56:49 +0100 Subject: [PATCH 1/3] Add .travis.yml --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..9d6a1143 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - node # Latest stable version of nodejs. From d87cf6c02b4b1e70cee8f145ca6d100a3078a4ca Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 25 Aug 2016 12:12:20 +0100 Subject: [PATCH 2/3] Transpile the react-sdk before running travis tests --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9d6a1143..fcd07298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ language: node_js node_js: - node # Latest stable version of nodejs. +install: + - npm install + - (cd node_modules/matrix-react-sdk && npm run build) From ebad3da6dd98dc4046687263c8bbdc1893d4aa37 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 25 Aug 2016 14:26:56 +0100 Subject: [PATCH 3/3] Use node v6 for travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fcd07298..1fbc4dcc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: - - node # Latest stable version of nodejs. + - 6 # node v6, to match jenkins install: - npm install - (cd node_modules/matrix-react-sdk && npm run build)