-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
44 lines (39 loc) · 1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: haxe
cache:
directories:
- $HOME/.m2
addons:
apt:
packages:
- protobuf-compiler
before_install:
- wget http://download.macromedia.com/pub/flex/sdk/flex_sdk_3.6.zip
- unzip -d $HOME/flex_sdk flex_sdk_3.6.zip
install:
- haxelib install haxelib-run
- git clone --branch v2.4.1 --depth 1 https://github.com/google/protobuf.git
- |
echo '
PROTOBUF_VERSION=2.4.1
PROTOBUF_DIR=protobuf
PROTOC=protoc
ifeq ($(OS), Windows_NT)
BAT=.bat
EXE=.exe
PATH_SEPARATOR=;
else
PATH_SEPARATOR=:
endif
COMPC=$(HOME)/flex_sdk/bin/compc$(BAT)
MXMLC=$(HOME)/flex_sdk/bin/mxmlc$(BAT)
ASDOC=$(HOME)/flex_sdk/bin/asdoc$(BAT)
FDB=$(HOME)/flex_sdk/bin/fdb$(BAT)
MVN=mvn
JAVAC=javac
JAR=jar
HAXE=haxe
' > config.mk
- mkdir -p protobuf/java/target
- wget --output-document=protobuf/java/target/protobuf-java-2.4.1.jar http://central.maven.org/maven2/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar
script:
- make