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

NZOI / nztrain
33%
master: 38%

Build:
Build:
LAST BUILD BRANCH: feature/subtask-scoring
DEFAULT BRANCH: master
Repo Added 08 Oct 2013 02:33AM UTC
Files 140
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

LAST BUILD ON BRANCH add-javascript-into-master
branch: add-javascript-into-master
CHANGE BRANCH
x
Reset
  • add-javascript-into-master
  • 01-05-Update_devise
  • 01-06-Upgrade_has_scope
  • 07-19-adjust_default_controller_spec_helper_params_to_never_be_nil
  • 12-30-Add_a_tiny_spec_for_the_file_attachments_page
  • 303-activerecordstatementinvalid-pgundefinedtable-error-missing-from-clause-entry-for-table-contest_relation
  • 321-actionviewtemplateerror-undefined-method-new-for-bigdecimalclass
  • NZIC-link-fix
  • actions/checkout-4
  • actions/ubuntu-22.04
  • actions/ubuntu-latest
  • add-contest-exporter
  • add-contest-exporter-v2
  • add-puma
  • add-pypy
  • apt-get-update-before-install
  • archive-migrations
  • before-action-cont
  • better-expand-maybe
  • better-expand-maybe-v2
  • branch-deploy
  • cap3
  • change-mailer-address
  • change-mailer-templates
  • ci-test
  • class-names-are-strings
  • clean-up-submissions-index
  • compiled-evaluators
  • contest-after-save-with-spec
  • contest-form-validation
  • contest-relations
  • contests-duration-units
  • contests-owner-column
  • contests-owner-on-show-page
  • convert-specs-with-transpec
  • dependabot-test-merge-all
  • dependabot/bundler/carrierwave-1.3.2
  • dependabot/bundler/ffi-1.12.2
  • dependabot/bundler/geocoder-1.6.1
  • dependabot/bundler/jquery-rails-3.1.3
  • dependabot/bundler/jquery-rails-4.4.0
  • dependabot/bundler/json-2.3.1
  • dependabot/bundler/loofah-2.3.1
  • dependabot/bundler/mechanize-2.7.7
  • dependabot/bundler/nokogiri-1.10.8
  • dependabot/bundler/rack-protection-1.5.5
  • dependabot/bundler/rmagick-5.3.0
  • dependabot/bundler/rubyzip-1.3.0
  • dependabot/bundler/sprockets-3.7.2
  • deployed
  • deployed-merged-into-master
  • disable-async-javascript
  • disable-school
  • feature/subtask-scoring
  • fewer-ci-runs
  • fix-ambiguous-matches-in-submission-spec
  • fix-bundle-whenever
  • fix-current-user-detection-on-scoreboard
  • fix-file-attachments
  • fix-filelink-path-404
  • fix-inspection-formating
  • fix-inspection-formatting-float-right-v2
  • fix-problemset-truncation
  • fix-redis-installer
  • fix-statement-visibility-in-importer
  • fix-submissions-signed-out
  • fix-submissions-spec
  • fix-type-mismatch-in-by-user-param
  • fixes
  • forbid-commas-in-submissions-route
  • formats-and-routes
  • gemfile-assets-group
  • gemfile-production-group
  • gh-actions-diff-schema
  • gh-actions-skip-assets-gems
  • gh-actions-v2
  • gh-actions-v2-rebase-1
  • gh-actions-v2-suggestions
  • gh-actions-v3
  • graphite-base/290
  • graphite-base/292
  • graphite-base/296
  • graphite-base/297
  • graphite-base/298
  • graphite-base/300
  • graphite-base/302
  • graphite-base/314
  • graphite-base/315
  • graphite-base/338
  • graphite-base/339
  • hide-scores-of-deleted-users-below-median
  • ignore-ds
  • improve-judging-errors
  • inspect-formatting-remove-repeat
  • interactive-problems
  • judging-overhaul
  • less-deprecation-warnings
  • loofah-rails-5
  • mailer-links-use-https
  • master
  • migration-version
  • migrations-timestamps-null
  • nginx-installer-https
  • nice-messages
  • pin-isolate-1.10.1
  • pr/remove-hard-coded-nztrain-email
  • problem-browing-spec
  • public-file-server
  • puma
  • pygments-2.3.1
  • qless
  • qless-log-level
  • rails-4-1-session-store
  • rails-5
  • rails-5-0-deprecations
  • rails-5-1
  • rails-5-before-callback-return
  • rails-5-cleanup
  • rails-5-deprecations
  • rails-5-suggestions
  • rails-5-suggestions-v2
  • rails.4
  • readme-markdown
  • redis-installer-cleanup
  • redis-installer-fix-pin-7-4-4
  • reduce-language-installs
  • refactor-logic-for-hiding-scores-below-median
  • remove-alias-method-chain
  • remove-asset-compressors
  • remove-coffeescript
  • remove-contest-finish-at-with
  • remove-j
  • remove-jquery-historyjs
  • remove-maxmind-geoip
  • remove-newrelic
  • remove-nokogiri-deps
  • remove-permitted-params-caching
  • remove-sass
  • remove-squeel
  • remove-strong-presenters
  • remove-test-cases-test-sets
  • remove-transaction-callback
  • rspec-persistence-path
  • schema-limit-255
  • school-management
  • scoreboard-reduce-db-queries
  • scoreboard-refresh-ajax
  • scoreboard-update
  • scoreboard-update-v2
  • seed-mailer-settings
  • seeds
  • sentry-apm
  • sentry-raven-migration
  • server-sidebar-init
  • show-all-public-on-scoreboard
  • simplify-commands
  • skip-wkhtmltopdf-in-ci
  • staging
  • standarddb-fixes-extra
  • standarddb-fixes-manual
  • standardrb-1.0.5
  • standardrb-fixes
  • standardrb-fixes-extra
  • standardrb-fixes-manual
  • sync-rails-config-v2
  • thomas-experiment
  • tom93/ci-test
  • tom93/ci-test-simplecov
  • ubuntu-noble
  • update-bundler-1-17
  • update-devise-config
  • update-json
  • update-python
  • update-registration
  • update-rspec-3.9
  • vendor-jquery
  • write-out-facebox
  • write-out-fixtures-spec-helper
  • yui-switch-to-jre
  • zero-score-message
  • zip.fix

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

Relevant lines Covered
Build:
Build:
6991 RELEVANT LINES 2317 COVERED LINES
4.75 HITS PER LINE
Source Files on add-javascript-into-master
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
747 add-javascript-into-master 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 t... push 04 Feb 2020 01:27PM UTC tom93 travis-ci pending completion  
673 add-javascript-into-master Rename v8 install script to "v8.bash" to match the other scripts push 23 Jan 2020 01:07PM UTC tom93 travis-ci pending completion  
672 add-javascript-into-master Add fixes for V8 install script push 23 Jan 2020 12:09PM UTC Holmes98 travis-ci pending completion  
667 add-javascript-into-master Enable "universe" component of security repository in sources.list from debootstrap script The "universe" component is enabled for the "$SUITE" repository, so it should also be enabled for "$SUITE-security" to get security updates. Discovered be... push 23 Jan 2020 07:55AM UTC Holmes98 travis-ci pending completion  
666 add-javascript-into-master Enable "universe" component of security repository in sources.list from debootstrap script The "universe" component is enabled for the "$SUITE" repository, so it should also be enabled for "$SUITE-security" to get security updates. Discovered be... push 23 Jan 2020 07:52AM UTC Holmes98 travis-ci pending completion  
660 add-javascript-into-master Build V8 inside chroot push 23 Jan 2020 04:55AM UTC Holmes98 travis-ci pending completion  
659 add-javascript-into-master Build V8 inside chroot push 23 Jan 2020 04:20AM UTC Holmes98 travis-ci pending completion  
645 add-javascript-into-master Fix ambiguous match in submissions spec push 22 Jan 2020 02:19PM UTC Holmes98 travis-ci pending completion  
644 add-javascript-into-master Only build V8 if not in Travis CI push 22 Jan 2020 01:50PM UTC Holmes98 travis-ci pending completion  
See All Builds (1144)
  • Repo on GitHub
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