diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-02-19 10:56:20 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-02-24 09:20:00 +0100 |
commit | e81ee7a6ad203326694152b1302da178eb335b37 (patch) | |
tree | 7f0554b0a1924c496189e8e3ee20b85f124829c1 | |
parent | 6eb8890dd255c862a2dee539e1691011005fd5aa (diff) | |
download | erlang-e81ee7a6ad203326694152b1302da178eb335b37.tar.gz |
travis: Move doc build to be start earlier in parallel build
travis only start 5 jobs and before this change the doc build
was always pushed until after another build was done so it
took a very long time to finish one build.
-rw-r--r-- | .travis.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml index 2f063bfd8d..b94af2281a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,24 @@ matrix: script: - ./scripts/build-otp - ./scripts/run-dialyzer - + # Doc build second as it also takes a long time to run + - env: Linux64Docbuild + script: + - ./scripts/build-otp docs + deploy: + provider: pages + repo: erlang/cd + target-branch: master + skip-cleanup: true + keep-history: false + verbose: true + github-token: $ERLANG_CD_GITHUB_TOKEN + on: + # We only deploy on pushes to branches + all_branches: true + tags: false + condition: $TRAVIS_PULL_REQUEST = "false" + repo: erlang/otp - env: Linux32 services: - docker @@ -91,23 +108,6 @@ matrix: - xsltproc - libxml2-utils - - env: Linux64Docbuild - script: - - ./scripts/build-otp docs - deploy: - provider: pages - repo: erlang/cd - target-branch: master - skip-cleanup: true - keep-history: false - verbose: true - github-token: $ERLANG_CD_GITHUB_TOKEN - on: - # We only deploy on pushes to branches - all_branches: true - tags: false - condition: $TRAVIS_PULL_REQUEST = "false" - repo: erlang/otp # This stage publishes a otp bundle that contains multiple # Erlang/OTP source repositories - stage: deploy |