Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Travis CI builds. #942

Merged
merged 1 commit into from
Jul 1, 2018
Merged

Simplify Travis CI builds. #942

merged 1 commit into from
Jul 1, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Jun 24, 2018

Have one script per build. This means more duplication between the
scripts, but it's much easier to understand and to run locally.

I mostly didn't touch the freebsd stuff. I may move that at some point in the future. It's using source as done by phase too cleverly, so I couldn't easily break it out of the current place.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Jun 24, 2018
@iphydf iphydf force-pushed the simplify-travis branch 29 times, most recently from 9634b42 to d703c92 Compare June 25, 2018 22:16
@iphydf iphydf force-pushed the simplify-travis branch 10 times, most recently from c01894f to 4349346 Compare June 28, 2018 00:09
@iphydf iphydf changed the title WIP: Simplify Travis CI builds. Simplify Travis CI builds. Jun 28, 2018
@iphydf iphydf force-pushed the simplify-travis branch 2 times, most recently from d29286a to 8bfd522 Compare June 29, 2018 18:46
@iphydf iphydf force-pushed the simplify-travis branch 3 times, most recently from e0454d9 to f558b6a Compare June 30, 2018 14:26
@robinlinden
Copy link
Member

:lgtm_strong:


Reviewed 35 of 36 files at r1, 2 of 2 files at r2, 1 of 1 files at r3.
Review status: :shipit: complete! 1 of 1 LGTMs obtained


.travis/cmake-linux, line 15 at r2 (raw file):

    # Install cpp-coveralls to upload test coverage results.
    pip install --user ndg-httpsclient urllib3[secure] cpp-coveralls
  

Stray whitespace


Comments from Reviewable

@@ -79,7 +83,7 @@ build()
if [ "${ALLOW_TEST_FAILURE}" = "true" ]; then
set +e
fi
cmake --build . --target test
cmake --build . --target test -- ARGS="-j50"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

50?

@iphydf
Copy link
Member Author

iphydf commented Jul 1, 2018

Review status: :shipit: complete! 1 of 1 LGTMs obtained


.travis/cmake-linux, line 15 at r2 (raw file):

Previously, robinlinden (Robin Lindén) wrote…

Stray whitespace

Done.


other/docker/windows/build_toxcore.sh, line 86 at r4 (raw file):

Previously, nurupo wrote…

50?

Yes, 50 is greater than the number of tests we have at the moment, and up to 50 is probably easily ok. These tests sleep almost all the time, so running them all in parallel doesn't cost much cpu but saves a whole lot of time.


Comments from Reviewable

Have one script per build. This means more duplication between the
scripts, but it's much easier to understand and to run locally.
@iphydf iphydf merged commit 1a54be0 into TokTok:master Jul 1, 2018
@iphydf iphydf deleted the simplify-travis branch July 1, 2018 15:24
@iphydf iphydf modified the milestones: v0.2.x, v0.2.4 Jul 16, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants