浏览代码

Add Travis CI config to build Marlin firmware.

Ivan Krasin 10 年前
父节点
当前提交
d078c7c29f
共有 2 个文件被更改,包括 15 次插入0 次删除
  1. 14
    0
      .travis.yml
  2. 1
    0
      README.md

+ 14
- 0
.travis.yml 查看文件

@@ -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 查看文件

@@ -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.

正在加载...
取消
保存