diff --git a/.travis.yml b/.travis.yml index 9e6ec9b26..36d1c8253 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,6 @@ defaults_go: &DEFAULTS_GO # so it forces new cache archive on every build # remove it before creating cache archive - rm -vf $HOME/.cache/go-build/log.txt - # force fixed mtime on all files so travis doesn't consider - # these as updated - - find $HOME/.cache/go-build/ -type f -exec touch -t 201909010000 {} \; env: - GO111MODULE=on @@ -119,6 +116,11 @@ jobs: name: Cross compile binaries if: repo = prymitive/karma AND type != pull_request <<: *DEFAULTS_GO + env: + # add an extra env so we don't push cross compilation cache into the main archive + # as it slows down other jobs + - JOB=cc + - GO111MODULE=on before_script: # this stage needs to build everything including assets file and that # requires running webpack, so we need nodejs here