From d763bdf42b6c577ca85392d792f6c8487e611566 Mon Sep 17 00:00:00 2001 From: Pierre Talbot Date: Wed, 12 Oct 2016 14:26:20 +0200 Subject: [PATCH] [Bonsai][Architecture] Add Travis support. --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 5 +++++ 2 files changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..06a436f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +# Copyright 2015 Pierre Talbot (IRCAM) + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +env: + global: + - secure: dIur06XYomBukvYR0aymt8D6YQpTGYvejZtInEmjOdnWziJJZmQ+HuTXMnXrrwFEFSC21uQfgBwhlItwcEzFu1ydx1LlxuUZh8sFjTFFrCWo3hRpyb4JGCAwoNvUZ1/d7MwHjGxjzFtMvnVPyo/wHlE2xgkWHZqmJfDgGkkpBuk= + +language: rust +rust: nightly +script: + - cargo build + - cargo test + - cargo doc diff --git a/README.md b/README.md index e9c0548..c6c992f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # bonsai +[![ptal on Travis CI][travis-image]][travis] + +[travis-image]: https://travis-ci.org/ptal/bonsai.png +[travis]: https://travis-ci.org/ptal/bonsai + Bonsai is a programming language inspired by synchronous programming and aims at be used to solve Constraint Satisfaction Problems (CSP). The bonsai compiler is in development. We are currently working on the target Java library, named ChocoCubes, using [SugarCubes](http://jeanferdysusini.free.fr/index.php?action=SC) for the reactive part and [Choco](http://www.choco-solver.org) for the constraint programming part. An example can be find [here](https://github.com/ptal/bonsai/blob/master/examples/NQueens/src/main/java/chococubes/example/NQueens.java), the code in comment the bonsai programming language that should be compiled to the code in Java.