Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps #117

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
module.exports = {
'extends': 'eslint:recommended',
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"browser": false,
"node": true,
"mocha": true
},
'rules': {
'indent': ['error', 'tab', { 'SwitchCase': 1 }],
'no-console': 0,
'no-undef': 0,
'no-undef': 2,
'no-unused-vars': ['error', { 'vars': 'all', 'args': 'none' }]
}
};
};
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
before_script:
- "mysql -e 'drop database if exists session_test; create database session_test;'"
language: node_js
sudo: required
dist: xenial

# before_script:

env:
- DB_HOST="127.0.0.1" DB_PORT=3306 DB_USER="root" DB_PASS="" DB_NAME="session_test"
- NODE_ORACLEDB_USER=travis NODE_ORACLEDB_PASSWORD=travis NODE_ORACLEDB_CONNECTIONSTRING=localhost:1521 ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe ORACLE_SID=XE OCI_LIB_DIR=/u01/app/oracle/product/11.2.0/xe/lib LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib


language: node_js
node_js:
- "6"
- "4"

before_install: npm install -g grunt-cli
install: npm install
before_install:
- wget https://raw.githubusercontent.com/Vincit/travis-oracledb-xe/master/accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
- bash ./accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
- npm install oracledb
- npm install -g grunt-cli
install: npm install
3 changes: 2 additions & 1 deletion grunt/mochaTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
module.exports = {
unit: {
options: {
reporter: 'spec'
reporter: 'spec',
timeout: 30000
},
src: ['test/unit/**/*.js']
},
Expand Down
Loading