From 437c31cf7cd958e449cbc177e1c64be31e9a9fcf Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sat, 3 Oct 2020 15:31:15 +0200 Subject: [PATCH 1/2] Added first travis script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just going to test things out and if they´ll work --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7c6bf47 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: node_js +node_js: + - "node" +dist: trusty +cache: + npm: true + directories: + - node_modules +install: + - npm install +script: + - npm run dist:prod \ No newline at end of file From 21a9ab754a9180fafe54225c0eb1ce5fd27fb272 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sat, 3 Oct 2020 15:33:45 +0200 Subject: [PATCH 2/2] Adde -d parameter to npm install --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c6bf47..5c7a886 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,6 @@ cache: directories: - node_modules install: - - npm install + - npm install -d script: - npm run dist:prod \ No newline at end of file