Skip to content

Commit

Permalink
Set the umask on travis in before_install.
Browse files Browse the repository at this point in the history
  • Loading branch information
zenspider committed Jun 19, 2019
1 parent 9d7b651 commit b126a41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ before_install:
- "gem update --system '3.0'"
- gem --version
- bundle --version
- umask 0022
env:
- SLOW=1 NO_AWS=1
- CI_ENABLE_COVERAGE=true SLOW=1
Expand Down
1 change: 0 additions & 1 deletion test/unit/resources/file_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
let(:file) { stub(unix_mode_mask: 000, mode: 644) }

it "more_permissive_than?" do
skip_until 2019, 6, 21, "Breaks on travis-ci because file has 664, not 644"
resource = MockLoader.new(:ubuntu1404).load_resource("file", "/fakepath/fakefile")

_(resource).wont_be :more_permissive_than?, "755"
Expand Down

0 comments on commit b126a41

Please sign in to comment.