Add .travis.yml to configure CI
This commit is contained in:
parent
6cafc2cddc
commit
aefb6570ee
2 changed files with 18 additions and 4 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
language: go
|
||||||
|
|
||||||
|
install:
|
||||||
|
- sudo apt-get install ninja-build
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go test ./...
|
||||||
|
- cp build.ninja.in build.ninja.in.orig
|
||||||
|
- mkdir stage
|
||||||
|
- cd stage
|
||||||
|
- ../bootstrap.bash
|
||||||
|
- ninja
|
||||||
|
- diff -us ../build.ninja.in ../build.ninja.in.orig
|
|
@ -1,11 +1,12 @@
|
||||||
Blueprint Build System
|
Blueprint Build System
|
||||||
======================
|
======================
|
||||||
|
[![Build Status](https://travis-ci.org/google/blueprint.svg?branch=master)](https://travis-ci.org/google/blueprint)
|
||||||
|
|
||||||
Blueprint is a meta-build system that reads in Blueprints files that describe
|
Blueprint is a meta-build system that reads in Blueprints files that describe
|
||||||
modules that need to be built, and produces a Ninja
|
modules that need to be built, and produces a
|
||||||
(http://martine.github.io/ninja/) manifest describing the commands that need to
|
[Ninja](http://martine.github.io/ninja/) manifest describing the commands that
|
||||||
be run and their dependencies. Where most build systems use built-in rules or
|
need to be run and their dependencies. Where most build systems use built-in
|
||||||
a domain-specific language to describe the logic for converting module
|
rules or a domain-specific language to describe the logic for converting module
|
||||||
descriptions to build rules, Blueprint delegates this to per-project build
|
descriptions to build rules, Blueprint delegates this to per-project build
|
||||||
logic written in Go. For large, heterogenous projects this allows the inherent
|
logic written in Go. For large, heterogenous projects this allows the inherent
|
||||||
complexity of the build logic to be maintained in a high-level language, while
|
complexity of the build logic to be maintained in a high-level language, while
|
||||||
|
|
Loading…
Reference in a new issue