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

Introduce again #2

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Add sanity test via fuzzit

  • Loading branch information
yevgenypats committed Jul 7, 2019
commit 3994674279d869f1958252feb2c2387494f03b93
@@ -2,28 +2,37 @@ language: cpp
dist: xenial
compiler: clang

branches:
only:
- master

stages:
- name: Fuzzing
# if: type = cron

jobs:
include:
- stage: Fuzzing
name: Continuous Fuzzing via Fuzzit (fuzzing daily)
name: Continuous Fuzzing via Fuzzit
language: bash
compiler: clang
script:
- export CC=`which clang`
- export CXX=`which clang++`
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=AddressSanitizer
- make
- wget -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v1.2.5/fuzzit_1.2.5_Linux_x86_64
- chmod a+x fuzzit
- ./fuzzit auth ${FUZZIT_AUTH_KEY}
- export TARGET_ID=Ba04ssna9qEd7bwN27Xz
- ./fuzzit create job --branch ${TRAVIS_BRANCH} --revision ${TRAVIS_COMMIT} ${TARGET_ID} ./fuzz/fuzz_test_string
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
export FUZZING_TYPE="fuzzing"
else
export FUZZING_TYPE="sanity"
fi
export CC=`which clang`
export CXX=`which clang++`
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=AddressSanitizer
make
wget -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v1.2.5/fuzzit_1.2.5_Linux_x86_64
chmod a+x fuzzit
./fuzzit auth ${FUZZIT_AUTH_KEY}
export TARGET_ID=Ba04ssna9qEd7bwN27Xz
./fuzzit create job --type ${FUZZING_TYPE} --branch ${TRAVIS_BRANCH} --revision ${TRAVIS_COMMIT} ${TARGET_ID} ./fuzz/fuzz_test_string
env:
global:
@@ -1,3 +1,4 @@
[![Build Status](https://travis-ci.org/fuzzitdev/example.svg?branch=master)](https://travis-ci.org/fuzzitdev/example)
![fuzzit](https://app.fuzzit.dev/badge?org_id=hP8u8bNAda91Cnj0mKPX&branch=master)

# Continuous Fuzzing Example
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.