• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NZOI / nztrain / 747
33%
master: 38%

Build:
Build:
LAST BUILD BRANCH: feature/subtask-scoring
DEFAULT BRANCH: master
Ran 04 Feb 2020 01:27PM UTC
Jobs 1
Files 153
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
747

push

travis-ci

tom93
Revert "Change v8 build directory from /v8-build to /tmp/v8-build"

It's not as simple as I thought and needs discussion.

The problem with using /tmp/v8-build is that another user might have
already created that directory. If we want the script to be safe in
the presence of malicious users on the same machine, we need another
approach:

1. Use ~/v8-build. Simple and safe. Won't be cleaned up automatically
   on reboot (unlike /tmp). I think this is the best option.

2. Use /v8-build. This only works when running as root; it would be
   useful if the script could also work for normal users.

3. Use /tmp/v8-build, but exit if mkdir fails and ask the user has to
   manually delete /tmp/v8-build (might exist from earlier builds).
   This is simple, but requires manual intervention in the case of
   failed builds and doesn't allow to resume build from previous
   state.

4. Use /tmp/v8-build, if mkdir fails delete it and try again. Similar
   to (3.) but doesn't require manual intervention.

5. Use /tmp/v8-build, if mkdir fails check ownership (`stat -c %u`)
   and abort if it's not the current one. Complex, but allows resuming
   build from previous state.

6. Use `mktemp` to create a different temporary directory each time.
   Failed builds would use up lots of space. Slightly harder to
   inspect build directory manually (need to find the directory name
   in the output of script).

2317 of 6991 relevant lines covered (33.14%)

4.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 747.1 (2.3.8) 04 Feb 2020 01:27PM UTC 0
33.14
Travis Job 747.1
Source Files on build 747
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #747
  • 06ea47fe on github
  • Prev Build on add-javascript-into-master (#673)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc