Skip to content

Commit

Permalink
reenable gating mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlostong committed May 7, 2020
1 parent 7cfe50a commit cb9e828
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ jobs:
cache: false

# translation: if we're merging into master branch...
#if: type = push AND branch = master
if: type = push
if: type = push AND branch = master

language: node_js
install:
Expand All @@ -116,14 +115,3 @@ jobs:
# we need to be in $TRAVIS_BUILD_DIR in order to run the following git diff properly
- cd $TRAVIS_BUILD_DIR
- git diff --quiet $TRAVIS_COMMIT_RANGE -- docs/ || ( cd $HOME/readme-sync2 && npx ts-node sync/index.ts --apiKey $README_SYNC_API_KEY --version 4.0 --docs docs/ )

# - stage: 'Readme-sync'
# #name: trigger readme-sync2 job
# env: SDK=go
# cache: false
# language: minimal
# install: skip
# before_script:
# - mkdir $HOME/travisci-tools && pushd $HOME/travisci-tools && git init && git pull https://$CI_USER_TOKEN@github.com/optimizely/travisci-tools.git && popd
# script:
# - $HOME/travisci-tools/generic-trigger/generic-trigger.sh -r optimizely/readme-sync2 -c '{"language":"node_js","script":"scripts/run_readme-sync.sh","env":"SDK=all"}' -m "[${TRAVIS_PULL_REQUEST_SLUG}:${TRAVIS_PULL_REQUEST}]"

0 comments on commit cb9e828

Please sign in to comment.