{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3988","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3988/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3988/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3988/events","html_url":"https://github.com/travis-ci/travis-ci/issues/3988","id":82829310,"number":3988,"title":"julia: before_script suppresses default script?","user":{"login":"wavexx","id":1017726,"avatar_url":"https://avatars.githubusercontent.com/u/1017726?v=3","gravatar_id":"","url":"https://api.github.com/users/wavexx","html_url":"https://github.com/wavexx","followers_url":"https://api.github.com/users/wavexx/followers","following_url":"https://api.github.com/users/wavexx/following{/other_user}","gists_url":"https://api.github.com/users/wavexx/gists{/gist_id}","starred_url":"https://api.github.com/users/wavexx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavexx/subscriptions","organizations_url":"https://api.github.com/users/wavexx/orgs","repos_url":"https://api.github.com/users/wavexx/repos","events_url":"https://api.github.com/users/wavexx/events{/privacy}","received_events_url":"https://api.github.com/users/wavexx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/community:julia","name":"community:julia","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-30T14:39:59Z","updated_at":"2015-06-01T10:14:50Z","closed_at":null,"body":"I've tried to use \"before_script\" to setup passwordless ssh access to localhost, as I normally did in Python. I'm not redefining the default \"script\" target, since I'm fine with the default.\r\n\r\nSee:\r\n\r\nhttps://github.com/wavexx/Polyglot.jl/blob/1e324d3b30032a4f371d59f96054d1579e9e6167/.travis.yml\r\n\r\nHowever, when I define before_script, it looks like the default Julia \"script\" is not run at all.\r\nSee the resulting build log:\r\n\r\nhttps://travis-ci.org/wavexx/Polyglot.jl/jobs/64701128\r\n\r\nI also tried to add that to \"before_install\" and \"install\".\r\nIt seems that as soon as one of the targets is defined I lose the convenience of the pre-defined rules.\r\n"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/107388721","html_url":"https://github.com/travis-ci/travis-ci/issues/3988#issuecomment-107388721","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3988","id":107388721,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T10:14:49Z","updated_at":"2015-06-01T10:14:49Z","body":"Don't think so, since `set_jl_pkg` runs during `script` - https://github.com/travis-ci/travis-build/blob/18bd04e965b9bfaa49cd6bdcd8dcb1513b8d2fcd/lib/travis/build/script/julia.rb#L61"}}