From 79dbd973541f0854fe3a6d2d66c1c8b70b085f76 Mon Sep 17 00:00:00 2001 From: M Nazrul Islam Date: Mon, 5 Aug 2019 00:12:09 +0600 Subject: [PATCH 1/5] continuous testing and continuous integration --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..5f7d04b --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2 + +jobs: + build: + docker: + - image: "debian:stretch" + steps: + - checkout + - run: + name: Installing SUDO + command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*' + - run: + name: Installing GCC + command: 'apt-get update && apt-get install -y gcc g++' + - run: + name: Install CMAKE + command: 'apt-get update && sudo apt-get install -y cmake' + - run: + name: Creating Build Files + command: 'make' + - run: + name: Point Unit Testing + command: './aiFi' \ No newline at end of file From 3e2ba28144cd3afe37869966c0de7e101a65b91b Mon Sep 17 00:00:00 2001 From: M Nazrul Islam Date: Mon, 5 Aug 2019 00:16:18 +0600 Subject: [PATCH 2/5] test file name fix --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5f7d04b..4b78053 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,4 +20,4 @@ jobs: command: 'make' - run: name: Point Unit Testing - command: './aiFi' \ No newline at end of file + command: './aifi' \ No newline at end of file From 32dbd3a6c842e2912f1fca2199aa6edae0816e1b Mon Sep 17 00:00:00 2001 From: M Nazrul Islam Date: Mon, 5 Aug 2019 00:44:32 +0600 Subject: [PATCH 3/5] update doc for build status --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1cf831a..5751eb6 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ License License made with python +[![CircleCI](https://circleci.com/gh/mnislam01/aiFi.svg?style=svg)](https://circleci.com/gh/mnislam01/aiFi)

## About aiFi From 3877fed45ff264e7a9171504f63774c3fb633c80 Mon Sep 17 00:00:00 2001 From: M Nazrul Islam Date: Mon, 5 Aug 2019 00:52:16 +0600 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5751eb6..49a8bed 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ License License made with python -[![CircleCI](https://circleci.com/gh/mnislam01/aiFi.svg?style=svg)](https://circleci.com/gh/mnislam01/aiFi) +build status

## About aiFi From ba05f1390698f207b09633562a205d9bb5325051 Mon Sep 17 00:00:00 2001 From: mnislam01 Date: Thu, 12 Sep 2019 00:37:56 +0600 Subject: [PATCH 5/5] removed extra parenthesis --- test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.c b/test.c index 89ed8b2..4d28fb3 100644 --- a/test.c +++ b/test.c @@ -107,7 +107,7 @@ int trainAndPredictXorTable (int epoch, int tStart, int tEnd, int start, int end //printf ("%d\n", r); } } - printf ("Epoch: %0d )\n", j+1); + printf("Epoch: %0d\n", j+1); } printf ("==TRIAL==\n");