Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Test macos installation #6231

Merged
merged 71 commits into from
May 31, 2017
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
c547eee
Clean install script
Apr 14, 2017
5768e89
Add test for pip installations
Apr 20, 2017
134134b
Remove debug statements & comments
Apr 20, 2017
94d8c05
Make test runnable as script and from framework
Apr 20, 2017
da20b56
Initial installation docs test script
Apr 24, 2017
ba95173
Initial installation test
Apr 28, 2017
c61b321
Add eval for docker commands
Apr 28, 2017
485cb7e
Make GPU parsing work too. Needs clean up.
May 1, 2017
0c2970a
Extract parsing into a function for reuse
May 1, 2017
9d97289
Call extracted parsing function
May 1, 2017
bee66c6
Function documentation
May 2, 2017
d7783a3
Merge from master
May 2, 2017
cbe0be6
Add file parameter
May 2, 2017
1940338
Auto install wget
May 2, 2017
12b2b66
Install Python
May 2, 2017
5abfb69
Don't process lines as commands if no prompt sign ($)
May 2, 2017
2112158
Add build with number of processors
May 2, 2017
ba66d80
Add build with 1 processor
May 2, 2017
368b8b2
Build with 7 processes
May 2, 2017
fb38718
Limit compilation with nproc
May 2, 2017
8a32e6a
Add test for MacOS
May 3, 2017
8c6238a
Enable MacOS CPU installation on Travis
May 4, 2017
0328976
Add new travis job
May 4, 2017
f27bf40
Fix error handling
May 4, 2017
c9b2eee
Enable docker travis environments
May 5, 2017
aa911a4
Uncomment eval
May 5, 2017
e79b2ab
Add document from Sandeep
lxn2 May 5, 2017
650b3d0
Debug statements
lxn2 May 5, 2017
182645b
Brew install python if not installed
lxn2 May 5, 2017
c5b5cff
Comment out Docker on Mac test
lxn2 May 5, 2017
4d8c198
Uncomment eval commands
lxn2 May 5, 2017
2d4c3ac
Don't do setup if task is installation
May 8, 2017
145db3d
Don't do setup if task is installation
May 8, 2017
ddf3705
Try different exit
May 8, 2017
0ddd054
Try different exit
May 8, 2017
99a49c1
comment out other tests for now
May 8, 2017
97bc9ad
temp debugging osx install
May 8, 2017
7c66b13
recommit
May 8, 2017
86d07e4
Add 2 tasks
May 8, 2017
1d87f41
some debugging statements
May 8, 2017
337274f
more debug statements
May 8, 2017
ae3c871
upgrade pip
May 9, 2017
faff70c
disable cache
May 9, 2017
8afaa25
disable cache
May 9, 2017
aaf3913
swap out osx install
May 9, 2017
653c709
Enable other tasks
May 9, 2017
3e793eb
Merge from master
May 9, 2017
92293a2
Added python validation
May 12, 2017
6032ae8
Edit sort
May 12, 2017
eaa331a
Merge branch 'master' of https://github.com/dmlc/mxnet into test_maco…
May 12, 2017
8f3fbff
Fixed gpu vs. cpu python validation
May 12, 2017
3571456
Wrap variables around quotes
May 12, 2017
e39af9b
Set error and apt-get update
May 12, 2017
4584b8f
Install gcc and debug statement
May 12, 2017
864e4df
Debug statement
May 12, 2017
44cc345
Disable virtualenv macos test & use cuda 8 container
May 12, 2017
91268ce
remove pythonpath temporarily
May 12, 2017
0260cfc
Add pythonpath in script
May 12, 2017
8655796
Remove extra cleanup
May 13, 2017
8ca7c52
Clean up
May 13, 2017
b975012
Skip installation tasks if install.md untouched
May 16, 2017
a3b9fb0
Change skip logic
May 16, 2017
514627a
Merge branch 'master' of https://github.com/dmlc/mxnet into test_maco…
May 17, 2017
8569ac9
Add debug statements to see files changed
May 17, 2017
74e0484
Change logic for running installation tests
May 17, 2017
943643f
Disable Python/R Travis tests
May 22, 2017
f273254
Deactivate R/Python Travis tasks
May 22, 2017
2c6bfb3
Merge branch 'master' into test_macosx_installation
madjam May 26, 2017
8d4bc40
Merge branch 'master' into test_macosx_installation
lxn2 May 26, 2017
e3b1b23
Add Python tests back and installation instructions comment
May 26, 2017
8e94a63
Merge branch 'test_macosx_installation' of https://github.com/lxn2/mx…
May 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't process lines as commands if no prompt sign ($)
  • Loading branch information
Nguyen committed May 2, 2017
commit 5abfb698fbe342f6a4021b1a2d62f51d9308f482
10 changes: 7 additions & 3 deletions tests/jenkins/run_test_installation_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,14 @@ function retrieve_commands() {
# 2) remove everything up to the prompt character '$'
# 3) remove everything after a comment character"#"
# 4) trim leading and trailing spaces
cmd=`sed -n ${j}p ${FILE} | sed 's/^.*$\(.*\).*$/\1/' | sed 's/\(.*\)#.*$/\1/' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`
if [[ ! -z $cmd ]];
current_line=`sed -n ${j}p ${FILE}`
if [[ ${current_line} == *"$"* ]]
then
commands="${commands} ${cmd};"
cmd=`echo ${current_line} | sed 's/^.*$\(.*\).*$/\1/' | sed 's/\(.*\)#.*$/\1/' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`
if [[ ! -z $cmd ]];
then
commands="${commands} ${cmd};"
fi
fi
done
done
Expand Down