Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Permissions Error in Tests #268

Closed
jmhobbs opened this issue Oct 31, 2018 · 0 comments
Closed

File Permissions Error in Tests #268

jmhobbs opened this issue Oct 31, 2018 · 0 comments

Comments

@jmhobbs
Copy link
Owner

jmhobbs commented Oct 31, 2018

For some reason angelparrot.gif and hd/angelparrot.gif are throwing permission failures in Travis.

Example: https://travis-ci.org/jmhobbs/cultofthepartyparrot.com/builds/448148465

When cloning a fresh copy of the repo, the index says they are not executable;

$ git clone git@github.com:jmhobbs/cultofthepartyparrot.com.git cotpp.com
Cloning into 'cotpp.com'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1417 (delta 0), reused 1 (delta 0), pack-reused 1413
Receiving objects: 100% (1417/1417), 3.47 MiB | 5.73 MiB/s, done.
Resolving deltas: 100% (805/805), done.
$ cd cotpp.com/parrots
$ git ls-tree HEAD | grep angel
100644 blob 67feefd84aca80818fa38863a8fb7c2e7359daf3	angelparrot.gif

and tests are successful locally,

$ npm test

> cultofthepartyparrot.com@1.1.0 test /Users/johnhobbs/Working/cotpp.com
> gulp test

[13:21:29] Using gulpfile ~/Working/cotpp.com/gulpfile.js
[13:21:29] Starting 'test'...


  parrots.json
    ✓ should validate
    ✓ should not have extra gifs
    ✓ should contain all gifs
    ✓ should contain all HD gifs

  guests.json
    ✓ should validate
    ✓ should not have extra gifs
    ✓ should contain all gifs
    ✓ should contain all HD gifs

  gifs
    ✓ in HD should be read only
    ✓ in SD should be read only

  gifs
    ✓ in HD should weight less than 64KB
    ✓ in SD should weight less than 64KB
    ✓ should never be wider or taller than 128px


  13 passing (66ms)

[13:21:30] Finished 'test' after 433 ms

I'm not sure what is going on here.

The first failed build merged into master is at #264, https://travis-ci.org/jmhobbs/cultofthepartyparrot.com/builds/442043392

cc #266 #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant