Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Make Elm tests (way) faster in Travis #97

Merged
merged 2 commits into from Jan 3, 2017
Merged

Conversation

cuducos
Copy link
Collaborator

@cuducos cuducos commented Dec 29, 2016

Based on elm/compiler#1473

TL;DR

Travis CI says to the Elm compiler we have 36 cores when we actually have 2. That's why compiling Elm takes ages, causing timeouts and kind of unreliable Travis CI results (as tests haven't actually failed). The fix came from the link mentioned above.

@coveralls
Copy link

coveralls commented Dec 29, 2016

Coverage Status

Changes Unknown when pulling 6075c7b on cuducos-fix-elm-on-travis into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 190fa63 on cuducos-fix-elm-on-travis into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 190fa63 on cuducos-fix-elm-on-travis into ** on master**.

@cuducos
Copy link
Collaborator Author

cuducos commented Dec 29, 2016

Ready to code review ; )

- psql -U postgres -c 'create database "jarbas";'
before_install:
- |
if [ ! -d sysconfcpus/bin ];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will be something pretty hard to understand why this is here in the future. Luckily you already documented in the commit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As it's a known issue within Elm community, I hope that two things are gonna follow:

  • This will be so common for Elm users that we'll get used to it
  • @travis-ci is going to fix it or offer a better solution (as they did with travis_wait command, for example)

Let's wait and see…

@Irio Irio merged commit ba3592d into master Jan 3, 2017
@Irio Irio deleted the cuducos-fix-elm-on-travis branch January 3, 2017 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants