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

zeit / next.js / 8969
53%
master: 52%

Build:
Build:
LAST BUILD BRANCH: canary
DEFAULT BRANCH: master
Ran 02 Jan 2019 10:57AM UTC
Jobs 2
Files 78
Run time 23s
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
8969

push

travis-ci

timneutkens
Add example of getInitialProps to with-reasonml (#5975)

The current reasonml needs an example of how to do getInitialProps.  tmepple posted the only known way of doing it in [this comment](https://github.com/zeit/next.js/issues/4202#issuecomment-439175214).   It is unlikely reasonml users are going to discover that comment or figure it out on their own so having it in an example is critical. 

Also, dependencies updated.  After updating dependencies, I get this error:
```
ModuleBuildError: Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):
[1] Error: Cannot find module '@babel/core'
[1]  babel-loader@8 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'.
```
Seems like @babel/core is required as peer dependency per [this comment](https://github.com/babel/gulp-babel/issues/124#issuecomment-326853222) so I added it.

The way to do getInitialProps has changed in 7.0.2 canary so this also has a comment in the code about what change is required to get that working.

5995 of 19245 branches covered (31.15%)

5825 of 10529 relevant lines covered (55.32%)

9.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8969.1 02 Jan 2019 10:57AM UTC 0
55.32
Travis Job 8969.1
2 8969.2 02 Jan 2019 10:58AM UTC 0
55.32
Travis Job 8969.2
Source Files on build 8969
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8969
  • c4b9e079 on github
  • Prev Build on canary (#8964)
  • Next Build on canary (#8971)
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

© 2026 Coveralls, Inc