You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/04/30 11:51:31 UTC

[cloudstack-primate] branch master updated: travis: use lts/12 nodejs

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 89c75ff  travis: use lts/12 nodejs
89c75ff is described below

commit 89c75ff749f993e1939da42a6d6b9742d96b8067
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Apr 30 17:21:13 2020 +0530

    travis: use lts/12 nodejs
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 .travis.yml | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a08bfcb..161647b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 language: node_js
 node_js:
-  - 10.15.0
-cache: yarn
+  - 12
+cache:
+  npm: false
+before_install:
+  - npm i -g npm@version-number
 script:
-  - yarn
-  - yarn run lint --no-fix && yarn run build
+  - npm run lint && npm run build