Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,251
    • Issues 4,251
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 394
    • Merge Requests 394
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Wiki
  • travis

Last edited by Takenobu Tani Apr 20, 2019
Page history New page

travis

Travis

Travis-CI is a free-for-open-source continuous integration service. See Validating Patches for how to use it to validate your own GHC fork on Github.

What does it do?

It watches the repository for new commits (any branch) and validates them. The results are presented on

  • the Travis results page

where you can select one of the recent build results.

To view a build log, you would

  • click on the build number in the first column (e.g. 617)
  • then scroll down and select one of the two jobs (one is built with debugging, one without). Click on the number (e.g. 617.1)
  • the next page contains the build log, but presented using JavaScript, which may or may not be too much for your browser, and may be truncated. Therefore, while the page is loading, quickly click the “Download Log” above the build log. This will open the log as a plain text file.

What is validated?

Because of time constraints, not a full validation run is done. Instead

  • only static libraries are built,
  • GHC is linked statically,
  • the test suite is run in “fast” mode,
  • all performance tests are skipped,
  • and neither haddock nor documentation is built.

It does all this in two variants

  • without -DDEBUG, to match what we release, and
  • with -DDEBUG, to catch assertions.

These settings are made in ghc/.travis.yml. You can conveniently experiment with different settings in a wip/... branch.

Statuses

  • Success (green checkmark):

The validation run went through without problems. Great!

  • Failure (Red cross):

There was a validation error, such as a build failure or a failing test case. Go and fix it!

  • Error (Grey exclamation mark): Travis could not finish the build. Most often, this is due to the build exceeding the time limit of 50 minutes.

In that case, you can probably ignore the problem. If you are a member of the GitHub GHC team, you can restart the build, to keep the build history tidy.

Clone repository

GHC Home
GHC User's Guide

Joining In

Newcomers info
Mailing Lists & IRC
The GHC Team

Documentation

GHC Status Info
Working conventions
Building Guide
Debugging
Commentary

Wiki

Title Index
Recent Changes