-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
57f480f
commit beaeb8a
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |