Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

How to convert .travis.yml to Github action #1

Open
aminya opened this issue Nov 7, 2019 · 1 comment
Open

How to convert .travis.yml to Github action #1

aminya opened this issue Nov 7, 2019 · 1 comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aminya
Copy link

aminya commented Nov 7, 2019

Considering a yml file like this:
https://github.com/JuliaMusic/MusicXML.jl/blob/master/.travis.yml

# Documentation: http://docs.travis-ci.com/user/languages/julia
language: julia
notifications:
  email: false
julia:
  - 1
  - nightly
os:
  - linux
  - osx
  - windows
jobs:
  fast_finish: true
  allow_failures:
    - julia: nightly
  include:
    - stage: Documentation
      julia: nightly
      script: julia --project=docs -e '
        using Pkg;
        Pkg.develop(PackageSpec(; path=pwd()));
        Pkg.instantiate();
        include("docs/make.jl");'
      after_success: skip
after_success:
  - if [[ $TRAVIS_JULIA_VERSION = nightly ]] && [[ $TRAVIS_OS_NAME = linux ]]; then
      julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())';
    fi

How can I convert it to the new Github actions format?

@aminya
Copy link
Author

aminya commented Nov 8, 2019

Some guide like this but for Julia:
https://github.com/anapaulagomes/from-travis-to-github-actions

@SaschaMann SaschaMann added documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed labels Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants