Build backend applications in CI (#193)

Summary:
This could catch failures in build configuration or with Webpack. It’s
unlikely to catch any logic errors, because no production code is run.
In any case, it’s fast enough; it finishes at about the same time as
`ci-test` and `check-pretty`.

Test Plan:
From the repository root, run `rm -r bin; yarn travis`, and note that
the `bin/` directory is regenerated.

wchargin-branch: ci-backend
This commit is contained in:
William Chargin 2018-05-02 22:16:48 -07:00 committed by GitHub
parent 25d0106a33
commit eba1872495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,13 +215,13 @@ function makeTasks(mode /*: "BASIC" | "FULL" */) {
cmd: ["npm", "run", "--silent", "ci-test"],
deps: [],
},
];
const extraTasks = [
{
id: "backend",
cmd: ["npm", "run", "--silent", "backend"],
deps: [],
},
];
const extraTasks = [
{
id: "fetchGithubRepoTest",
cmd: ["./src/plugins/github/fetchGithubRepoTest.sh", "--no-build"],