Skip to content

Commit ccd5aa6

Browse files
committed
add initial travis config
1 parent 91cccc7 commit ccd5aa6

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed

.travis.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
matrix:
2+
allow_failures:
3+
- os: windows
4+
include:
5+
- os: osx
6+
osx_image: xcode9.4
7+
language: rust
8+
rust: nightly-2018-10-12
9+
env:
10+
- TRAVIS_NODE_VERSION="10"
11+
12+
- os: linux
13+
language: rust
14+
rust: nightly-2018-10-12
15+
env:
16+
- TRAVIS_NODE_VERSION="10"
17+
addons:
18+
apt:
19+
sources:
20+
- ubuntu-toolchain-r-test
21+
packages:
22+
- gcc-multilib
23+
- g++-8
24+
- g++-multilib
25+
26+
- os: windows
27+
language: node_js
28+
node_js:
29+
- node
30+
31+
- os: windows
32+
language: rust
33+
rust: nightly-2018-10-12
34+
env:
35+
- TRAVIS_NODE_VERSION="10"
36+
37+
cache:
38+
yarn: true
39+
directories:
40+
- node_modules
41+
- $(npm config get prefix)/lib/node_modules
42+
43+
before_install:
44+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="g++-8"; fi
45+
- nvm install $TRAVIS_NODE_VERSION
46+
- nvm use ${TRAVIS_NODE_VERSION}
47+
- node -v
48+
- npm -v
49+
- npm i -g yarn@latest
50+
51+
install:
52+
- yarn
53+
54+
script:
55+
- yarn build
56+
- yarn test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const connector = new Sqlite();
3030

3131
// Creating an in-memory async connection
3232
const memoryConn = await connector.createInMemory({
33-
vebose: false
33+
verbose: false
3434
});
3535

3636
// Creating a regular async connection

0 commit comments

Comments
 (0)