run indexer on pushes to master
@@ -35,3 +35,4 @@ script:
- go run ./tools/apidiff/main.go packages ./services FETCH_HEAD~1 FETCH_HEAD --copyrepo --breakingchanges || $IGNORE_BREAKING_CHANGES
- go run ./tools/pkgchk/main.go ./services --exceptions ./tools/pkgchk/exceptions.txt
- git diff --exit-code
+ - if [[ "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_BRANCH" == "master" ]]; then go run ./tools/indexer/main.go; fi
