Browse Source

init TravisCI

Andy Li 12 năm trước cách đây
mục cha
commit
4fa3da53f0
1 tập tin đã thay đổi với 16 bổ sung0 xóa
  1. 16 0
      .travis.yml

+ 16 - 0
.travis.yml

@@ -0,0 +1,16 @@
+language: node_js
+
+before_install:
+  - sudo apt-get install python-software-properties -y # for the next command
+  - sudo add-apt-repository ppa:eyecreate/haxe -y      # add the ubuntu ppa that contains neko
+  - sudo apt-get update                                # pull info from ppa
+  - sudo apt-get install neko -y
+  - sudo apt-get install ocaml zlib1g-dev -y
+
+script:
+  - make
+  - make tools
+  - sudo make install
+  - cd tests/unit/
+  - mkdir ~/haxelib && haxelib setup ~/haxelib
+  - haxe -version