forked from rstudio/keras3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (75 loc) · 2.54 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
dist: trusty
sudo: false
matrix:
include:
- name: "Backend: TensorFlow | Implementation: Keras"
env:
- KERAS_BACKEND="tensorflow"
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="default"
- name: "Backend: Theano | Implementation: Keras"
env:
- KERAS_BACKEND="theano"
- THEANO_FLAGS=optimizer=fast_compile
- TENSORFLOW_VERSION="default"
- name: "Backend: TensorFlow | Implementation: TensorFlow"
env:
- KERAS_BACKEND="tensorflow"
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="default"
- name: "Backend: TensorFlow Eager | Implementation: TensorFlow"
env:
- KERAS_BACKEND="tensorflow"
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="default"
- TENSORFLOW_EAGER="TRUE"
- name: "Backend: TensorFlow | Implementation: TensorFlow 1.12"
env:
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="1.12.0"
- name: "Backend: TensorFlow | Implementation: TensorFlow 2.0.0a0"
env:
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="2.0.0-alpha0"
- name: "Backend: Tensorflow | Implementation: TensorFlow Nightly"
env:
- TENSORFLOW_VERSION="nightly"
- name: "Backend: Tensorflow Eager | Implementation: Tensorflow Nightly"
env:
- TENSORFLOW_VERSION="nightly"
- TENSORFLOW_EAGER="TRUE"
allow_failures:
- name: "Backend: Tensorflow | Implementation: TensorFlow Nightly"
env:
- TENSORFLOW_VERSION="nightly"
- name: "Backend: Tensorflow Eager | Implementation: Tensorflow Nightly"
env:
- TENSORFLOW_VERSION="nightly"
- TENSORFLOW_EAGER="TRUE"
- name: "Backend: TensorFlow Eager | Implementation: TensorFlow"
env:
- KERAS_BACKEND="tensorflow"
- KERAS_IMPLEMENTATION="tensorflow"
- TENSORFLOW_VERSION="default"
- TENSORFLOW_EAGER="TRUE"
cache:
packages: true
directories:
- $HOME/.keras
- $HOME/.cache/pip
before_script:
- sudo apt-get update
- sudo apt-get install python3
- pip install --upgrade --ignore-installed --user travis virtualenv
- R CMD INSTALL .
- R -e 'tensorflow::install_tensorflow(version = Sys.getenv("TENSORFLOW_VERSION"))'
- R -e 'tensorflow::tf_config()'
notifications:
email:
recipients:
on_success: never
on_failure: always