Skip to content

Commit

Permalink
init TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
andyli committed Jan 20, 2014
1 parent b8f7815 commit d38ccf1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: cpp

before_install:
- sudo apt-get update
- sudo apt-get install ocaml zlib1g-dev libgc-dev gcc-multilib g++-multilib -y
- git clone https://github.com/HaxeFoundation/neko.git ~/neko && cd ~/neko && make && sudo make install && cd $TRAVIS_BUILD_DIR
- git clone --recursive https://github.com/HaxeFoundation/haxe.git ~/haxe && cd ~/haxe && make && make tools && sudo make install && cd $TRAVIS_BUILD_DIR
- mkdir ~/haxelib && haxelib setup ~/haxelib
- haxelib dev hxcpp $TRAVIS_BUILD_DIR

script:
- cd build-tool
- haxe Compile.hxml
- cd ../runtime
- haxelib run hxcpp BuildLibs.xml
- haxelib run hxcpp BuildLibs.xml -DHXCPP_M64
- cd ../test/ndlls
- haxe compile.hxml && ./cpp/Test
- haxe compile64.hxml && ./cpp64/Test
- cd ~/haxe/tests/unit
- haxe compile-cpp.hxml && ./cpp/Test-debug && rm -rf cpp
- haxe compile-cpp.hxml -D HXCPP_M64 && ./cpp/Test-debug
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# hxcpp

[![Build Status](https://travis-ci.org/HaxeFoundation/hxcpp.png?branch=master)](https://travis-ci.org/HaxeFoundation/hxcpp)

hxcpp is the runtime support for the c++ backend of the [haxe](http://haxe.org/) compiler. This constains the headers, libraries and support code required to generate a fully compiled executable from haxe code.

0 comments on commit d38ccf1

Please sign in to comment.