You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,16 @@ cache:
15
15
env:
16
16
global:
17
17
- APP_ENV=prod
18
+
- KUBERNETES_ENV=prod
18
19
19
-
# TODO: replace check by [ ! $TRAVIS_TAG ] && [ $TRAVIS_REPO_SLUG = "api-platform/demo" ] && [ $TRAVIS_PULL_REQUEST = "false" ] when ready because we only want to deploy on master and from verified sources.
20
20
before_install:
21
21
- |
22
-
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
22
+
if [ TRAVIS_BRANCH = "master" ] && [ $TRAVIS_REPO_SLUG = "api-platform/demo" ]; then
# TODO: Keep looking to https://github.com/kubernetes/kubernetes/pull/64034 tests in order to use "wait" with new implementation (to replace sleep 60).
59
+
# TODO: Keep looking to https://github.com/kubernetes/kubernetes/pull/64034 tests in order to use "wait" with new implementation (in order to replace sleep 60).
0 commit comments