diff --git a/.travis.yml b/.travis.yml index 575e5185a..5df0d4691 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,11 +26,14 @@ services: - redis-server before_script: + # Travisはproduction環境なので(10行目により)、 + # npm install しただけでは devDependencies はインストールされないので、 + # --only=dev オプションを付けてそれらもインストールされるようにする: + - npm install --only=dev + - mkdir ./.config - cp ./.travis/default.yml ./.config - cp ./.travis/test.yml ./.config - - npm install --only=dev - - npm install - npm run build after_success: