-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: switch to circle-ci * docs: add circle-ci badge to readme * fix: use manual install for circleci-matrix * fix: babel-register -> babel-core/register * fix: move install scripts to .circleci-matrix.yml * fix: remove node_modules directory in scripts/circle/install.sh * fix: export DATABASE_DRIVER in .circleci-matrix.yml
- Loading branch information
1 parent
0a49d14
commit 856aeae
Showing
9 changed files
with
30 additions
and
64 deletions.
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,8 @@ | ||
env: | ||
- export DATABASE_DRIVER=pg | ||
- export DATABASE_DRIVER=mysql2 | ||
- export DATABASE_DRIVER=sqlite3 | ||
command: | ||
- bash -e scripts/circle/before-script.sh | ||
- npm test | ||
- npm run test:codecov |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,28 +1,19 @@ | ||
os: Visual Studio 2015 | ||
|
||
platform: x64 | ||
|
||
environment: | ||
nodejs_version: 6 | ||
NODE_ENV: test | ||
DATABASE_PASSWORD: Password12! | ||
|
||
matrix: | ||
- DATABASE_DRIVER: mysql2 | ||
DATABASE_USERNAME: root | ||
|
||
- DATABASE_DRIVER: sqlite3 | ||
|
||
services: | ||
- mysql | ||
|
||
install: | ||
- ps: C:\projects\lux\scripts\appveyor\install.ps1 | ||
|
||
before_test: | ||
- ps: C:\projects\lux\scripts\appveyor\before-test.ps1 | ||
|
||
test_script: | ||
- npm test | ||
|
||
build: off |
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,16 @@ | ||
test: | ||
override: | ||
- ~/.local/bin/circleci-matrix | ||
machine: | ||
node: | ||
version: 6 | ||
environment: | ||
NODE_ENV: test | ||
DATABASE_USERNAME: ubuntu | ||
dependencies: | ||
pre: | ||
- mkdir -p ~/.local/bin | ||
- curl -fsSL https://git.io/v2Ifs -o ~/.local/bin/circleci-matrix | ||
- chmod +x ~/.local/bin/circleci-matrix | ||
override: | ||
- bash -e scripts/circle/install.sh |
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
File renamed without changes.
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/bin/bash -e | ||
rm -rf node_modules | ||
npm install | ||
npm link | ||
|
||
cd test/test-app | ||
rm -rf node_modules | ||
npm install | ||
cd ../../ |
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