Browse Source

Merge pull request #1148 from krasin/travis

Add Travis CI config to build Marlin firmware.
galexander1 10 years ago
parent
commit
90eb266139
2 changed files with 15 additions and 0 deletions
  1. 14
    0
      .travis.yml
  2. 1
    0
      README.md

+ 14
- 0
.travis.yml View File

@@ -0,0 +1,14 @@
1
+---
2
+language: c
3
+
4
+before_install:
5
+  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
6
+  - sudo apt-get update -qq
7
+install:
8
+  - sudo apt-get install -qq gcc-avr binutils-avr avr-libc gcc-4.8 g++-4.8 arduino
9
+  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
10
+  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
11
+  - gcc --version
12
+  - g++ --version
13
+
14
+script: "cd Marlin && make HARDWARE_MOTHERBOARD=70 ARDUINO_INSTALL_DIR=/usr/share/arduino"

+ 1
- 0
README.md View File

@@ -2,6 +2,7 @@
2 2
 Marlin 3D Printer Firmware
3 3
 ==========================
4 4
 [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224)
5
+[![Travis Build Status](https://travis-ci.org/ErikZalm/Marlin.svg)](https://travis-ci.org/ErikZalm/Marlin)
5 6
 
6 7
 Marlin has a GPL license because I believe in open development.
7 8
 Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent.

Loading…
Cancel
Save