-
-
Notifications
You must be signed in to change notification settings - Fork 829
Refactor travis-ci to use parallel jobs #2414
Conversation
5984eb6
to
f826ee0
Compare
f826ee0
to
ab468b5
Compare
The same question applies to whether we need chrome for all the tests. We can also probably improve the end to end test job:
|
This reverts commit f9ecdcb. Travis is unhappy about adding an NPM cache as it can't find matrix-js-sdk for some reason
Oh, sad times. It doesn't like
|
|
|
The end-to-end tests need a built version of riot to run against, and the riot build needs all dependencies installed. The dependencies for the end-to-end tests are installed as part of the |
.travis.yml
Outdated
- ./scripts/travis/test-riot.sh | ||
- name: Unit Tests | ||
script: | ||
- npm run test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test-riot.sh
, run by the end-to-end tests, still contains npm run test
as well, so they would be run twice like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think test-riot.sh
is running the riot-web unit tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's doing both. It's just not running the end-to-end tests right now because they are disabled for experimental. https://travis-ci.org/matrix-org/matrix-react-sdk/jobs/476805158 shows its also running the unit tests...
I committed some changes to split up the test-riot script for unit and e2e tests.
…un as part of e2e tests
I think you need to keep the |
This should make it easier to see what's actually failed and what hasn't.
Currently this does an
npm install
for bothnpm run test
andnpm run lintwithexclusions
, does that need to happen?