Skip to content

Commit

Permalink
Add Travis CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
adegtyarev committed Nov 30, 2017
1 parent 92cda02 commit b506813
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: c
script:
- make clean test
compiler:
- clang
- gcc
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ distclean:

test: gost3411-2012
./gost3411-2012 -t
./gost3411-2012 -t | cmp auto/test.txt

bench:
$(MAKE) remake CC=clang && ./gost3411-2012 -b
Expand Down
3 changes: 3 additions & 0 deletions auto/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
M1: 012345678901234567890123456789012345678901234567890123456789012
GOST R 34.11-2012 512 bit digest (M1): 0x1b54d01a4af5b9d5cc3d86d68d285462b19abc2475222f35c085122be4ba1ffa00ad30f8767b3a82384c6574f024c311e2a481332b08ef7f41797891c1646f48
GOST R 34.11-2012 256 bit digest (M1): 0x9d151eefd8590b89daa6ba6cb74af9275dd051026bb149a452fd84e5e57b5500

0 comments on commit b506813

Please sign in to comment.