From ef0942c73afbc3a8886ebb0287cb01551fc17deb Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 23 Aug 2017 23:24:50 +0200 Subject: [PATCH] build: initial .travis.yml implementation PR-URL: https://github.com/ayojs/ayo/pull/14 Reviewed-By: olivia --- .travis.yml | 16 ++++++++++++++++ README.md | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..ea22086f2f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: cpp +compiler: + - clang +os: + - linux +sudo: false +cache: ccache +before_install: + - export CXX="ccache clang++ -Qunused-arguments" + - export CC="ccache clang -Qunused-arguments" + - export JOBS=2 +install: + - ./configure + - make -j2 V= +script: + - make -j2 test-ci diff --git a/README.md b/README.md index 246deaea43..73a50080fe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Ayo.js +[![Build Status](https://travis-ci.org/ayojs/ayo.svg?style=flat&branch=master)](https://travis-ci.org/ayojs/ayo?branch=master) + _(Note: Ayo.js is forked from [Node.js][]. Currently, a lot of the documentation still points towards the Node.js repository.)_