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