forked from yahoo/TensorFlowOnSpark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (65 loc) · 2.47 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
matrix:
include:
- language: python
python: 2.7
before_install:
- curl -LO http://www-us.apache.org/dist/spark/spark-2.3.1/spark-2.3.1-bin-hadoop2.7.tgz
- export SPARK_HOME=./spark
- mkdir $SPARK_HOME
- tar -xf spark-2.3.1-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
- export PATH=$SPARK_HOME/bin:$PATH
- export SPARK_LOCAL_IP=127.0.0.1
- export SPARK_CLASSPATH=./lib/tensorflow-hadoop-1.0-SNAPSHOT.jar
- export PYTHONPATH=$(pwd)
install:
- pip install -r requirements.txt
script:
- test/run_tests.sh
- language: python
python: 3.6
before_install:
- curl -LO http://www-us.apache.org/dist/spark/spark-2.3.1/spark-2.3.1-bin-hadoop2.7.tgz
- export SPARK_HOME=./spark
- mkdir $SPARK_HOME
- tar -xf spark-2.3.1-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
- export PATH=$SPARK_HOME/bin:$PATH
- export SPARK_LOCAL_IP=127.0.0.1
- export SPARK_CLASSPATH=./lib/tensorflow-hadoop-1.0-SNAPSHOT.jar
- export PYTHONPATH=$(pwd)
install:
- pip install -r requirements.txt
script:
- sphinx-build -b html docs/source docs/build/html
- test/run_tests.sh
- language: java
jdk: oraclejdk8
notifications:
email: false
deploy:
- provider: pages
skip_cleanup: true
github_token: "$GITHUB_TOKEN"
local_dir: docs/build/html
on:
branch: master
python: 3.6
tags: true
condition: "$TRAVIS_TAG =~ ^v.*$"
- provider: pypi
user: leewyang
password:
secure: T2Q8VM6SgcMtJDO2kJbaELE/5ICR5mx8pkM6TyNAJZ2Mr3fLIy6iDfPKunBAYVljl+SDEWmuoPTWqJdqMyo47LBKPKtBHbGzATqGSRTLvxLOYNSXUX+uCpPtr7CMp1eP3xpZ3YbAJZvoEFlWnBQKeBtX/PjNCpmKdp7ir+46CvR/pR1tcM5cFnSgU+uCPAMUt8KTZIxeRo+oJtaE0DM2RxLJ9nGnaRNz9fdXxwhViNj/bMnDRUI0G6k+Iy4sO2669si8nhTDr+Oq66ONUcJtAQymNUM/hzBTCkrJvuIq1TqTlKkA39UrtD5/wCkCqPUbCLVuIfNwkYfW2C8AlXcbphBKN4PhwaoL5XECr3/AOsgNpnPWhCF1Z1uLi58FhIlSyp+5c/x2wVJLZi2IE+c996An7UO3t16ZFpFEgzS6m9PVbi6Qil6Tl4AhV5QLKb0Qn0hLe2l0WixzK9KLMHfkqX8h5ZGC7i0TvCNcU2uIFjY8we91GORZKZhwUVDKbPqiUZIKn64Qq8EwJIsk/S344OrUTzm7z0lFCqtPphg1duU42QOFmaYWi6hgsbtDxN6+CubLw23G3PtKjOpNt8hHnrjZsz9H1MKbSAoYQ4fo+Iwb3owTjXnSTBr94StW7qysggWH6xQimFDh/SKOE9MfroMGt5YTXfduTbqyeameYqE=
distributions: sdist bdist_wheel
on:
branch: master
python: 3.6
tags: true
condition: "$TRAVIS_TAG =~ ^v.*$"
- provider: script
script: mvn deploy -DskipTests --settings .travis.settings.xml
skip_cleanup: true
on:
branch: master
jdk: oraclejdk8
tags: true
condition: "$TRAVIS_TAG =~ ^scala_.*$"