vadimdemedes / trevor

🚦 Your own mini Travis CI to run tests locally
MIT License
2.11k stars 51 forks source link

Support `before_script` #52

Open SCdF opened 7 years ago

SCdF commented 7 years ago

I have this in my .travis.yml:

before_script:
  - npm install grunt-cli -g

script:
  - grunt ci

But when I run trevor I get:

 ✖ 5.6:
 container_linux.go:247: starting container process caused "exec: \"grunt\": executable file not found in $PATH"
 docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"grunt\": executable file not found in $PATH".

It looks like it's not executing before_script steps?

vadimdemedes commented 7 years ago

No, Trevor currently ignores before_script. Renaming this issue to a feature request.