From 991868dd08f96e66d9b0cf0b4e946ff5860be787 Mon Sep 17 00:00:00 2001 From: Hang Park Date: Sun, 2 Apr 2017 17:44:57 +0900 Subject: [PATCH 1/2] [#24] Create simple travis build config file --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d5b3b5c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +sudo: required + +language: c + +services: + - docker + +before_install: + - docker pull hangpark/pintos-dev-env-kaist + +script: + - docker run -v $TRAVIS_BUILD_DIR:/pintos hangpark/pintos-dev-env-kaist /bin/bash -c "export PATH=$PATH:/pintos/src/utils && cd /pintos/src/$TARGET_DIRECTORY && make grade" > temp && rm temp && cat src/$TARGET_DIRECTORY/build/grade From a04adc5e89aa30e6b7815f31d562d3fce8c1c6a0 Mon Sep 17 00:00:00 2001 From: Hang Park Date: Sun, 2 Apr 2017 18:08:00 +0900 Subject: [PATCH 2/2] [#24] Add build status img for develop to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1495767..44ce32e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # PintOS Project of CS330 in KAIST +[![Build Status](https://travis-ci.com/hangpark/pintos.svg?token=gQa4om5Q1o59ZGsZT1Tf&branch=develop)](https://travis-ci.com/hangpark/pintos) + Repository for PintOS implementation project of CS330 in KAIST. To contribute, read [CONTRIBUTING.md](CONTRIBUTING.md).