-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
90 lines (83 loc) · 1.99 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
matrix:
fast_finish: true
include:
- language: go
go: 1.9.x
sudo: required
install:
- make godeps
script:
- make gotest
- language: go
go: 1.10.x
sudo: required
install:
- make godeps
script:
- make gotest
- language: go
go: tip
sudo: required
install:
- make godeps
script:
- make gotest
- language: android
jdk: oraclejdk8
android:
components:
- build-tools-27.0.3
- android-21
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21
before_script:
- wget http://services.gradle.org/distributions/gradle-4.1-bin.zip
- unzip -qq gradle-4.1-bin.zip
- export GRADLE_HOME=$PWD/gradle-4.1
- export PATH=$GRADLE_HOME/bin:$PATH
- gradle -v
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- make -C android bindable-latest test
- language: node_js
node_js:
- node
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- libc-dev
- libc++-dev
- libc6-dev
install:
- make .tensorflow
- cd js
- yarn
- cd ..
- cp -f /usr/local/lib/libtensorflow*.so js/node_modules/@tensorflow/tfjs-node/deps/tensorflow/lib/
script:
- make jstest
- language: python
python:
- "3.6"
install:
- pip install setuptools
script:
- make pytest
- language: python
python:
- "2.7"
install:
- pip install setuptools
script:
- make pytest
allow_failures:
- go: tip