From e09196d3d90c68f13dbde035ea736e7796ba800b Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Thu, 2 Sep 2021 18:21:14 +0800 Subject: [PATCH] ci: update pipelines Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- .travis.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d61085..495f6bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,18 @@ +branches: + only: master +arch: + - arm64 + - ppc64le language: node_js node_js: - 8 - 10 - 12 -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-5 - - oracle-java8-installer -before_install: - - sudo update-java-alternatives -s java-8-oracle - - export JAVA_HOME=/usr/lib/jvm/java-8-oracle - - java -version - - wget https://archive.apache.org/dist/cassandra/3.10/apache-cassandra-3.10-bin.tar.gz - - tar -xzf apache-cassandra-3.10-bin.tar.gz - - sudo sh apache-cassandra-3.10/bin/cassandra -R + - 14 + - 16 +services: docker +before_install: npm install --global npm +script: | + chmod +x ./setup.sh + ./setup.sh + npm test --ignore-scripts