From d078c7c29f77bb307d7586176b3bb14c40e80b23 Mon Sep 17 00:00:00 2001 From: Ivan Krasin Date: Sun, 16 Nov 2014 01:46:24 -0500 Subject: [PATCH] Add Travis CI config to build Marlin firmware. --- .travis.yml | 14 ++++++++++++++ README.md | 1 + 2 files changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..c646ff080 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +--- +language: c + +before_install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq +install: + - sudo apt-get install -qq gcc-avr binutils-avr avr-libc gcc-4.8 g++-4.8 arduino + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 + - gcc --version + - g++ --version + +script: "cd Marlin && make HARDWARE_MOTHERBOARD=70 ARDUINO_INSTALL_DIR=/usr/share/arduino" diff --git a/README.md b/README.md index 5eda8465c..d11925ff7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Marlin 3D Printer Firmware ========================== [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) +[![Travis Build Status](https://travis-ci.org/ErikZalm/Marlin.svg)](https://travis-ci.org/ErikZalm/Marlin) Marlin has a GPL license because I believe in open development. Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent.