Simple Chat Room in NodeJS, expressJS and mongoDB in Docker Swarm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
740 B

language: node_js
sudo: false
node_js: [14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4]
install:
- travis_retry npm install
before_script:
- wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.0.2.tgz
- tar -zxvf mongodb-linux-x86_64-ubuntu1604-4.0.2.tgz
- mkdir -p ./data/db/27017
- mkdir -p ./data/db/27000
- printf "\n--timeout 8000" >> ./test/mocha.opts
- ./mongodb-linux-x86_64-ubuntu1604-4.0.2/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
- export PATH=`pwd`/mongodb-linux-x86_64-ubuntu1604-4.0.2/bin/:$PATH
- sleep 2
- mongod --version
matrix:
include:
- name: "👕Linter"
node_js: 10
before_script: skip
script: npm run lint
notifications:
email: false