From 6b859fc55e83addc3fc903c54daa1c82145d4128 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Mon, 7 Jan 2019 16:15:57 +0900 Subject: [PATCH] Enable build on semantic version tag (#83) * Enable build on semantic version tag * Fix installation of json parser --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75f1d83..b9b8bf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ compiler: gcc branches: only: - master + - "/^[0-9]+\\.[0-9]+\\.[0-9]+/" cache: - apt @@ -30,8 +31,8 @@ before_install: g++-mingw-w64-x86-64 \ g++-mingw-w64-i686 \ npm - npm config set strict-ssl false # XXX: workaround for CERT_UNTRUSTED error in npm - npm install json + sudo npm config set strict-ssl false # XXX: workaround for CERT_UNTRUSTED error in npm + sudo npm install -g json fi script: