From 656f967dd424d76e3afaf6b1010eac0556c87e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Mon, 8 Aug 2022 17:09:56 +0200 Subject: [PATCH] WIP Add basic Drone CI config --- .drone.yml | 11 +++++++++++ .travis.yml | 38 -------------------------------------- 2 files changed, 11 insertions(+), 38 deletions(-) create mode 100644 .drone.yml delete mode 100644 .travis.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5c17892 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: test + image: gitea.kosmos.org/kredits/docker-ci:latest + #image: node:16.16 + commands: + - npm install + - npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0496fc9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -language: node_js -node_js: - - "12" - -sudo: false -dist: xenial - -cache: - directories: - - node_modules - - apps/contribution/node_modules - - apps/contributor/node_modules - - apps/proposal/node_modules - - apps/token/node_modules - - apps/vault/node_modules - -install: - - npm install -g @aragon/cli - - npm install -g truffle - - npm install - -before_script: - - npm run devchain & - - sleep 10 - -script: - - npm run lint:wrapper - - npm run lint:contract-tests - # FIXME Fix tests - # - npm run test:token - # - npm run test:contributor - # - npm run test:contribution - # - npm run test:proposal - -branches: - only: - - master