Matthew Hodgson
dbc6815abf
make EmojiProvider and stripped-emoji.json work
7 years ago
Matthew Hodgson
dc72641264
replace emojione with twemoji. completely untested & debugged & unoptimised
7 years ago
Bruno Windels
f5f89ee4e3
move package installation to docker image to avoid on every run
7 years ago
Bruno Windels
57092eeb4f
add buildkite sections
7 years ago
Bruno Windels
7dde322ce2
only need to invoke artifact tool once
7 years ago
Bruno Windels
64f123563b
upload separate log files
7 years ago
Bruno Windels
6a4a443c26
attempt at uploading logs as artefacts
7 years ago
Bruno Windels
5802a1d9eb
also show test logs
7 years ago
Bruno Windels
309d2ead8f
dump server log after running tests
7 years ago
Bruno Windels
addafe224f
need to disable sandbox because ci tests run as root and puppeteer wont let you do stupid stuff by accident
7 years ago
Bruno Windels
4eeaf05e81
no sandbox didn't work, lets try installing a gazilion deps from the puppeteer page
7 years ago
Bruno Windels
af0dee0d65
disable sandbox to run under debian
7 years ago
Bruno Windels
711974a6df
remove obsolete --travis flag
7 years ago
J. Ryan Stinnett
6f79e8503a
Switch to `git` protocol for CI dependencies
...
If you try to clone a repo that doesn't exist via `https`, `git` will prompt for
auth credentials and hang forever. Using `git` avoids this and fails immediately
instead, which is what we want for a missing repo.
Part of https://github.com/vector-im/riot-web/issues/9221
7 years ago
J. Ryan Stinnett
02569fca4b
Support CI for matching branches on forks
...
Currently, people with push access to the main Riot repos can push matching
branch names to Riot and the SDKs, and CI will test all the branches together.
This change allows contributors to access the same ability when submitting
several matching PRs from their fork of each repo.
Part of https://github.com/vector-im/riot-web/issues/9041
7 years ago
Travis Ralston
6d7703dcb6
Re-introduce `yarn test` and fix comments
7 years ago
Travis Ralston
365c8e9fdc
Fetch downstream dependencies from as many places as possible
...
Gives the build the best possible chance at passing
7 years ago
Travis Ralston
5b68a70da1
Remove uneeded CHROME_BIN env setter
7 years ago
Travis Ralston
cab5f7aba4
Use the right branch for fetching dependencies
7 years ago
Travis Ralston
618b2b1ae6
Add basic BuildKite :pipeline:
7 years ago
J. Ryan Stinnett
d9063bbf8e
Maybe bash instead of dash
7 years ago
J. Ryan Stinnett
337ac2f6a0
Reorder link and install steps
...
Take advantage of Yarn's preservation of links while installing and set up links
first and install second. This should result in a small speedup since we no
longer install the published SDKs just to replace them on the next line.
7 years ago
J. Ryan Stinnett
7c947d87ab
Update scripts and docs to use `yarn` where appropriate
...
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
7 years ago
David Baker
63c6f600bf
Use webpack alias to resolve the languages file
...
Hopefully this will end up simpler than having to figure out in
riot-web what the relative path is from react-sdk's
src/languageHandler.js to riot-web's webapp directory.
7 years ago
Bruno Windels
712522a16d
set chrome path for travis CI explicitly
...
karma seems to be giving priority to a location where an old version is installed.
7 years ago
Bruno Windels
6bf8269bcd
riot-web is a subdirectory when running the tests
7 years ago
Bruno Windels
19190deb3c
set x perms
7 years ago
Bruno Windels
45558f5323
run both react-sdk and riot-web tests
7 years ago
Bruno Windels
509ae4cea4
run unit tests on riot-web like before
7 years ago
Bruno Windels
419726f423
set executable perms
7 years ago
Bruno Windels
481cd292ad
make e2e tests job conditional at travis.yml level
7 years ago
Bruno Windels
5ce08523f8
split up script for unit and end-to-end tests so unit tests are not run as part of e2e tests
7 years ago
Erik Johnston
ab468b5346
Refactor travis-ci to use parallel jobs
7 years ago
David Baker
f928be6f59
Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental"
...
This reverts commit ad47144355 .
7 years ago
David Baker
7d161de35b
Partial merge of develop to experimental
...
Does not include #2336 as the file has been moved out from underneath it:
will do this separately
7 years ago
J. Ryan Stinnett
135a0884c9
Update scripts/fetchdep.sh
...
Co-Authored-By: turt2live <travpc@gmail.com>
7 years ago
Travis Ralston
310f634a0d
Ensure we install the master branch of the e2e tests as a default
7 years ago
J. Ryan Stinnett
7affd5fcff
Try fetching more branches for PRs
...
Attempt both the PR author's branch and the PR's target branch. This resolves
issues on experimental where we need riot-web to also be experimental.
7 years ago
Travis Ralston
a2b825ba92
Sort translations by file name
...
This keeps the strings close together and roughly in the same area as the others, and makes it easier to maintain the translation file.
7 years ago
Travis Ralston
fb262596b2
Provide more helpful errors when i18n generation fails
...
Also fix TextForEvent.js so it doesn't break the script. Using a variable here is not recognized, so the object has been moved inline instead.
7 years ago
David Baker
e1394d592a
Allow translation tags object to be a variable
...
Don't try to validate the translation tags if it's not an object literal.
7 years ago
Michael Telatynski
07f0713a56
allow autocompleting Emoji by common aliases, e.g 👍 to 👍
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
8 years ago
Michael Telatynski
7225f7372c
Revert " make click to insert nick work on join/parts, /me's etc"
8 years ago
Michael Telatynski
dddf7991b9
create map-i18n to aid with transforming the i18n entries not to waste them
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
8 years ago
David Baker
9f8202c8a9
Remove directories if they exist
8 years ago
David Baker
82349ec933
Fix sed
8 years ago
David Baker
183947615f
Fux up jenkins origin/ branches
8 years ago
David Baker
0040ea0d9f
Use develop js-sdk in travis build
8 years ago
David Baker
9bccecf449
Get symlink right
...
Also No need to cd into the symlink, can just go straight there
8 years ago
David Baker
825d610938
Bah, no pushd.
...
Also this npm install should now be unnecessary
8 years ago