From d420ecf0a909425a3fcc0e44bae5e8992581503c Mon Sep 17 00:00:00 2001 From: EdoAlvarezR Date: Fri, 1 Jun 2018 14:21:51 -0600 Subject: [PATCH] Julia packaging2 --- .codecov.yml | 1 + .gitignore | 12 ++++++++++++ .travis.yml | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 .codecov.yml create mode 100644 .gitignore create mode 100644 .travis.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..69cb760 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..649822b --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# Julia Packaging +*.jl.cov +*.jl.*.cov +*.jl.mem + +# MyPanel temps +*.gif +temps +temp* +*.vtk +*.jld + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..181f98c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +## Documentation: http://docs.travis-ci.com/user/languages/julia/ +language: julia +os: + - linux + - osx +julia: + - 0.6 + - nightly +notifications: + email: false +git: + depth: 99999999 + +## uncomment the following lines to allow failures on nightly julia +## (tests will run but not make your overall status red) +#matrix: +# allow_failures: +# - julia: nightly + +## uncomment and modify the following lines to manually install system packages +#addons: +# apt: # apt-get for linux +# packages: +# - gfortran +#before_script: # homebrew for mac +# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi + +## uncomment the following lines to override the default test script +#script: +# - julia -e 'Pkg.clone(pwd()); Pkg.build("MyPanel"); Pkg.test("MyPanel"; coverage=true)' +after_success: + # push coverage results to Coveralls + - julia -e 'cd(Pkg.dir("MyPanel")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' + # push coverage results to Codecov + - julia -e 'cd(Pkg.dir("MyPanel")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'