-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #273 from alphagov/BAU-pr-builds-with-travis
BAU: simple travis.yml build
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
dist: bionic | ||
language: node_js | ||
node_js: | ||
- 12.2.0 | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves | ||
- libgconf-2-4 | ||
|
||
cache: | ||
# Caches $HOME/.npm when npm ci is default script command | ||
# Caches node_modules in all other cases | ||
npm: true | ||
|
||
install: | ||
- npm ci | ||
|
||
jobs: | ||
include: | ||
- stage: "Tests" | ||
name: "Lint & Test" | ||
script: | ||
- npm run lint | ||
- npm run build | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ADMINUSERS_URL=http://localhost:9001 | ||
CONNECTOR_URL=http://localhost:9003 | ||
DIRECT_DEBIT_CONNECTOR_URL=http://localhost:9004 | ||
PRODUCTS_URL=http://localhost:9005 | ||
PUBLIC_AUTH_URL=http://localhost:9006 | ||
LEDGER_URL=http://localhost:9007 | ||
PORT=3000 | ||
NODE_ENV=development | ||
BUILD_FOLDER_ROOT=$PWD/dist | ||
TOOLBOX_FILE_ROOT=$PWD | ||
COOKIE_SESSION_ENCRYPTION_SECRET=Wtqf3C5t4f8vd68snKp86RDyfUN2HEj2 | ||
AUTH_GITHUB_ENABLED=false |