2018-11-26 19:24:24 +00:00
|
|
|
dist: trusty
|
2018-11-27 16:51:05 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -y ninja-build
|
2019-07-09 15:09:09 +00:00
|
|
|
# Arduino IDE adds a lot of noise caused by network traffic, trying to firewall it off
|
|
|
|
- sudo iptables -P INPUT DROP
|
|
|
|
- sudo iptables -P FORWARD DROP
|
|
|
|
- sudo iptables -P OUTPUT ACCEPT
|
|
|
|
- sudo iptables -A INPUT -i lo -j ACCEPT
|
|
|
|
- sudo iptables -A OUTPUT -o lo -j ACCEPT
|
|
|
|
- sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
2018-11-26 19:24:24 +00:00
|
|
|
script:
|
2018-11-27 16:51:05 +00:00
|
|
|
- bash -x test.sh
|
2019-02-16 05:39:57 +00:00
|
|
|
- cp Firmware/variants/1_75mm_MK3S-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h
|
|
|
|
- bash -x build.sh || { echo "1_75mm_MK3S-EINSy10a-E3Dv6full variant failed" && false; }
|
|
|
|
- rm Firmware/Configuration_prusa.h
|
2019-01-18 19:46:10 +00:00
|
|
|
- cp Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h
|
2019-01-18 20:14:50 +00:00
|
|
|
- bash -x build.sh || { echo "1_75mm_MK3-EINSy10a-E3Dv6full variant failed" && false; }
|
2018-11-27 16:51:05 +00:00
|
|
|
- rm Firmware/Configuration_prusa.h
|
2019-02-16 05:39:57 +00:00
|
|
|
- cp Firmware/variants/1_75mm_MK25S-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h
|
|
|
|
- bash -x build.sh || { echo "1_75mm_MK25S-RAMBo13a-E3Dv6full variant failed" && false; }
|
|
|
|
- rm Firmware/Configuration_prusa.h
|
|
|
|
- cp Firmware/variants/1_75mm_MK25S-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h
|
|
|
|
- bash -x build.sh || { echo "1_75mm_MK25S-RAMBo10a-E3Dv6full variant failed" && false; }
|
|
|
|
- rm Firmware/Configuration_prusa.h
|
2018-11-27 16:51:05 +00:00
|
|
|
- cp Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h
|
2019-01-18 20:14:50 +00:00
|
|
|
- bash -x build.sh || { echo "1_75mm_MK25-RAMBo13a-E3Dv6full variant failed" && false; }
|
2018-11-27 16:51:05 +00:00
|
|
|
- rm Firmware/Configuration_prusa.h
|
|
|
|
- cp Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h
|
2019-01-18 20:14:50 +00:00
|
|
|
- bash -x build.sh || { echo "1_75mm_MK25-RAMBo10a-E3Dv6full variant failed" && false; }
|
2018-11-27 16:51:05 +00:00
|
|
|
- rm Firmware/Configuration_prusa.h
|
|
|
|
- cp Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h
|
2019-01-18 20:14:50 +00:00
|
|
|
- bash -x build.sh || { echo "1_75mm_MK2-RAMBo13a-E3Dv6full variant failed" && false; }
|
2018-11-27 16:51:05 +00:00
|
|
|
- rm Firmware/Configuration_prusa.h
|
|
|
|
- cp Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h
|
2019-01-18 20:14:50 +00:00
|
|
|
- bash -x build.sh || { echo "1_75mm_MK2-RAMBo10a-E3Dv6full variant failed" && false; }
|