Hey,
I wrote a little cross platform library that deletes files. I decided to do CI for Linux with CircleCI, however it can’t find any of the commands, I even tried installing a specific one:
dependencies:
pre:
- sudo apt-get update; sudo apt-get -y install gvfs gvfs-common gvfs-libs
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/Bios-Marcel/CircleCI-Test
steps:
- checkout
- run: touch lol.file
- run: gvfs-trash lol.file
levlaz
September 2, 2018, 7:53pm
2
This is not a valid 2.0 config. The dependencies
key has been deprecated, it was a part of the 1.0 config.
If you want to install these tools you can run them as a part of the build. Something like this should work.
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/Bios-Marcel/CircleCI-Test
steps:
- checkout
- run: sudo apt-get update; sudo apt-get -y install gvfs gvfs-common gvfs-libs
- run: touch lol.file
- run: gvfs-trash lol.file
system
Closed
December 1, 2018, 7:53pm
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.