Standard test script code (eg Travis)

Where can I find the code that is run on Travis in absence of a custom test script? I want to use it on Gitlab.

I assume this is it https://docs.travis-ci.com/user/languages/julia/#default-build-and-test-script .

1 Like

I needed a --project=. in addition for julia, not sure why, I thought it was the default.

Here is the full script: https://github.com/travis-ci/travis-build/blob/0cd568983d56387426cf94cbb60a5dd11c8e6e1b/lib/travis/build/script/julia.rb

I assume that the JL_PKG environment variable has some role in it.

1 Like

The default script sets JULIA_PROJECT=@. (https://github.com/travis-ci/travis-build/blob/0cd568983d56387426cf94cbb60a5dd11c8e6e1b/lib/travis/build/script/julia.rb#L25).

1 Like