Skip to content

Commit

Permalink
Merge branch 'release/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
szaghi committed Oct 5, 2016
2 parents e3999bd + d78d1db commit a4d6c3d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ env:
global:
- MAKECOVERAGE="FoBiS.py rule -ex makecoverage"
- MAKEDOC="./makedoc.sh szaghi/FLAP"
- CLEAN="FoBiS.py rule -ex clean"
- MAKETAR="FoBiS.py rule -ex maketar"

before_install:
- git submodule update --init --recursive
Expand Down Expand Up @@ -50,3 +52,17 @@ after_success:
- find . -name '*.gcno' -print
- bash <(curl -s https://codecov.io/bash)
- $MAKEDOC

before_deploy:
- $CLEAN
- $MAKETAR

deploy:
provider: releases
api_key:
secure: MqRf9dWvZak0yEzTUcrf/tlfWztVLJe1OImUZBHfJLWE3GjtM8VLv50otNOyb+JNUYfV8e86F5Tzouxxp5xD54RhDhSKnG3f2RSpVJ3BwTewIXsJEYlV14Ec1xlKCLkg6EEZg1Fn/eZDLonjicm1whTP9GJb3GCWL9X1y6mPCt0=
file: FLAP.tar.gz
skip_cleanup: true
overwrite: true
on:
tags: true
22 changes: 16 additions & 6 deletions fobos
Original file line number Diff line number Diff line change
Expand Up @@ -196,31 +196,41 @@ jobs = 2

# rules
[rule-makedoc]
help = Rule for building documentation from source files
help = Build documentation from source files
rule_1 = rm -rf doc/html/*
rule_2 = ford doc/main_page.md --debug
rule_3 = cp -r doc/html/publish/* doc/html/
rule_4 = rm -rf doc/html/publish

[rule-deldoc]
help = Rule for deleting documentation
help = Delete documentation
rule = rm -rf doc/html/*

[rule-delexe]
help = Delete exes
rule = rm -rf exe/

[rule-clean]
help = Clean the project tree
rule_1 = FoBiS.py rule -ex deldoc
rule_2 = FoBiS.py rule -ex delexe
rule_3 = tar -czf FLAP.tar.gz *

[rule-maketar]
help = Rule for making tar archive of the project
help = Make tar archive of the project
rule = tar -czf FLAP.tar.gz *

[rule-makecoverage]
help = Rule for performing coverage analysis
help = Perform coverage analysis
rule_1 = FoBiS.py clean -mode tests-gnu
rule_2 = FoBiS.py build -mode tests-gnu -coverage
rule_3 = ./run_tests.sh
rule_4 = rm -f exe/obj/penf* FLAP.1
rule_5 = gcov -o exe/obj/ src/lib/flap*
rule_6 = rm -f *.gcov

[rule-coverage-analysis]
help = Rule for performing coverage analysis and saving reports in markdown
[rule-makecoverage-analysis]
help = Perform coverage analysis and saving reports in markdown
rule_1 = FoBiS.py clean -mode tests-gnu
rule_2 = FoBiS.py build -mode tests-gnu -coverage
rule_3 = ./run_tests.sh
Expand Down

0 comments on commit a4d6c3d

Please # to comment.