summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-02-18 12:21:18 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2015-02-18 12:21:18 -0500
commit6e7278d72d29b428174eaf6e9b537c6bd5b79377 (patch)
tree4eeaae5ae1c76a464b9f18809ca58cb2991d45b8
parent24946b29faf2349ef2d8ed7c4fd844c777676926 (diff)
downloadqtlocation-mapboxgl-6e7278d72d29b428174eaf6e9b537c6bd5b79377.tar.gz
add npm script rebuild, always build from source on travis
-rw-r--r--.travis.yml2
-rw-r--r--package.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 88559a99a6..069c51aa20 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,7 +26,7 @@ before_install:
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then export LD_LIBRARY_PATH=`mason prefix mesa 10.4.3`/lib:$LD_LIBRARY_PATH; glxinfo; fi
install:
-- npm install
+- npm run-script rebuild
before_script:
# Set the core file limit to unlimited so a core file is generated upon crash
diff --git a/package.json b/package.json
index 5bf9725ceb..e3884bed23 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,8 @@
},
"scripts": {
"install": "node-pre-gyp install || make",
- "test": "make test"
+ "test": "make test",
+ "rebuild": "make clean && make"
},
"gypfile": true,
"binary": {