forked from prusa3d/MM-control-01
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
25 lines (25 loc) · 886 Bytes
/
.travis.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
dist: xenial
before_install:
- sudo apt-get install -y ninja-build
- sudo apt-get install -y srecord
- sudo apt-get install -y doxygen
- sudo apt-get install -y graphviz
- sudo apt-get install -y plantuml
script:
- git fetch --unshallow || if [ $? -eq 128 ]; then true; else false; fi
- git rev-list --count HEAD
- bash -x test.sh
- bash -x build.sh
- wget https://github.com/prusa3d/caterina/releases/download/V4/Caterina-prusa_mm_control.hex
- srec_cat ../MM-control-01-build/MM-control-01.hex.tmp -Intel Caterina-prusa_mm_control.hex -Intel -Output MM-control-01_with_bootloader.hex -Intel
- mv Doxyfile MM-control-01/Doxyfile && cd MM-control-01
- doxygen && cd ..
deploy:
provider: releases
api_key: $ACCESS_TOKEN
file:
- ../MM-control-01-build/MM-control-01.hex
- MM-control-01_with_bootloader.hex
skip_cleanup: true
on:
tags: true