Skip to content

Commit

Permalink
feat(travis): activate travis extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Benitte committed Aug 25, 2016
1 parent 16a9347 commit fc25afb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ const Mozaik = require('mozaik')

Mozaik.configureFromFile(path.join(__dirname, 'config.yml'))
.then(() => {
Mozaik.registerApi('github', require('mozaik-ext-github/client'))
Mozaik.registerApi('gitlab', require('mozaik-ext-gitlab/client'))
Mozaik.registerApi('travis', require('mozaik-ext-travis/client'))
Mozaik.registerApi('travis', require('mozaik-ext-travis/client'))

Mozaik.start()
})
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"babel-register": "6.7.2",
"dotenv": "^0.5.1",
"mozaik": ">=2.0.0-alpha",
"mozaik-ext-travis": ">=2.0.0-alpha",
"react": "15.3.0",
"react-dom": "15.3.0"
},
Expand Down
5 changes: 5 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import React from 'react'
import { render } from 'react-dom'
import Mozaik from 'mozaik/ui'
import travis from 'mozaik-ext-travis'


Mozaik.Registry.addExtensions({
travis,
});

render(<Mozaik.Mozaik />, document.getElementById('mozaik'))

0 comments on commit fc25afb

Please sign in to comment.