From 01cde64f99460aa1bcfebec3101b18699acb75d0 Mon Sep 17 00:00:00 2001 From: neikei Date: Sun, 3 Jun 2018 14:25:26 +0200 Subject: [PATCH] Added Travis CI --- .travis.yml | 5 +++++ README.md | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8076fb5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: python +script: + - wget https://github.com/neikei/syntaxchecks/archive/master.zip + - unzip master.zip && rm master.zip + - syntaxchecks-master/syntaxchecks.sh -p "`pwd`" -a -s diff --git a/README.md b/README.md index b9d22ab..5796113 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Syntaxchecks +[![Build Status](https://travis-ci.org/neikei/syntaxchecks.svg?branch=master)](https://travis-ci.org/neikei/syntaxchecks) + - [Syntaxchecks](#syntaxchecks) @@ -13,6 +15,7 @@ - [Jenkins](#jenkins) - [Bamboo](#bamboo) - [Bitbucket Pipelines](#bitbucket-pipelines) + - [Travis CI](#travis-ci) - [Regular expressions](#regular-expressions) - [Third party software](#third-party-software) @@ -121,6 +124,15 @@ pipelines: - rm -rf syntaxchecks-master ``` +### Travis CI + +```bash +script: + - wget https://github.com/neikei/syntaxchecks/archive/master.zip + - unzip master.zip && rm master.zip + - syntaxchecks-master/syntaxchecks.sh -p "`pwd`" -a -s +``` + ## Regular expressions ```bash