Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Testing and Continuous Integration using CircleCI #7

Merged
merged 5 commits into from
Nov 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License">
<img src="https://awesome.re/badge-flat.svg" alt="License">
<img src="https://img.shields.io/badge/powered%20by-oservo-blue.svg" alt="made with python">
<img src="https://circleci.com/gh/mnislam01/aiFi/tree/master.svg?style=svg" alt="build status">
</p>

## About aiFi
Expand Down
2 changes: 1 addition & 1 deletion test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down