Skip to content

Commit

Permalink
Setup Jenkins (dmlc#30)
Browse files Browse the repository at this point in the history
* jenkins init

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* test succ (dmlc#1)

* test succ

* test fail

* fix fail

* fix jenkins

* icon

* icon

* icon
  • Loading branch information
jermainewang authored Jul 22, 2018
1 parent 57f480f commit beaeb8a
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pipeline {
agent {
docker {
image 'pytorch/pytorch'
}
}
stages {
stage('SETUP') {
steps {
sh 'easy_install nose'
}
}
stage('BUILD') {
steps {
dir('python') {
sh 'python setup.py install'
}
}
}
stage('TEST') {
steps {
sh 'nosetests tests -v --with-xunit'
}
}
}
post {
always {
junit '*.xml'
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Deep Graph Library
[![Build Status](http://216.165.71.225:8080/buildStatus/icon?job=DGL-fork/master)](http://216.165.71.225:8080/job/DGL-fork/master)
[![GitHub license](https://dmlc.github.io/img/apache2.svg)](./LICENSE)

## Architecture
Show below, there are three sets of APIs for different models.
Expand Down
1 change: 1 addition & 0 deletions python/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
22 changes: 22 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import os.path

with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as f:
version = f.readline().strip()

setuptools.setup(
name='dgl',
version=version,
description='Deep Graph Library',
maintainer='DGL Team',
maintainer_email='[email protected]',
packages=setuptools.find_packages(),
install_requires=[
'numpy>=1.14.0',
'scipy>=1.1.0',
'networkx>=2.1',
],
data_files=[('', ['VERSION'])],
url='https://github.com/jermainewang/dgl-1')

0 comments on commit beaeb8a

Please sign in to comment.