From 19f44361f48d61a92e6fef27003603de8707313e Mon Sep 17 00:00:00 2001 From: Yunpeng Niu Date: Sun, 12 May 2019 22:37:33 +0800 Subject: [PATCH] Setup the configurations for Travis CI --- .travis.yml | 12 ++++++++++++ README.md | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3235975 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: node_js +node_js: + - "node" + +install: + - gem install awesome_bot + +script: + - awesome_bot README.md --allow-dupe --allow-redirect --allow 429 --skip-save-results -w localhost:4000,CertAWS.netlify.com + - npm run deploy + +cache: npm diff --git a/README.md b/README.md index 6c51555..f3d6e1e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This repository presents the preparation guide for [AWS Certificate Examination] ## Development -- Make sure you have installed the latest version of [Node.js](https://nodejs.org/), [Npm](https://www.npmjs.com) and [Git](https://git-scm.com/) on your development machine. Npm should come with Node.js. +- Make sure you have installed the latest version of [Node.js](https://nodejs.org/), [Npm](https://www.npmjs.com/) and [Git](https://git-scm.com/) on your development machine. Npm should come with Node.js. - You chould check them by `git --version`, `node -v` and `npm -v`. - Fork and clone this repository to your computer. ```bash