-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.drone.yml
30 lines (27 loc) · 1.2 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
kind: pipeline
name: default
steps:
- name: build
image: car2x/docker-veins-0.0.4:d10-v5.0-o5.6.1-s1.5.0
commands:
- export PATH="$PATH:/opt/omnetpp/bin:/opt/sumo/bin"
- apt-get --allow-releaseinfo-change update && apt-get install -y python3-pip python3-wheel protobuf-compiler libprotobuf-dev libzmq3-dev
- python3 -m pip install snakemake
- snakemake -jall
- name: randomAgent
image: car2x/docker-veins-0.0.4:d10-v5.0-o5.6.1-s1.5.0
commands:
- export PATH="$PATH:/opt/omnetpp/bin:/opt/sumo/bin"
- apt-get --allow-releaseinfo-change update && apt-get install -y python3-pip python3-wheel libprotobuf-dev libzmq3-dev
- python3 -m pip install veins_gym
- cd examples
- python3 random_agent.py
- name: notebook
image: car2x/docker-veins-0.0.4:d10-v5.0-o5.6.1-s1.5.0
commands:
- export PATH="$PATH:/opt/omnetpp/bin:/opt/sumo/bin"
- apt-get --allow-releaseinfo-change update && apt-get install -y python3-pip python3-wheel libprotobuf-dev libzmq3-dev
- python3 -m pip install veins_gym nbconvert ipykernel
- jupyter nbconvert --to markdown --execute examples/Tutorial_Using_the_Serpentine_Scenario.ipynb
- cat examples/Tutorial_Using_the_Serpentine_Scenario.md