This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
forked from keras-team/keras
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
64 additions
and
2 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
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,30 @@ | ||
version: 0.2 | ||
|
||
phases: | ||
install: | ||
commands: | ||
echo "Checking out master branch"; | ||
git fetch; | ||
git checkout master; | ||
echo "Installing MXNet"; | ||
apt-get update; | ||
sudo apt install -y python3-pip; | ||
pip3 install mxnet --pre; | ||
echo "Installing Tensorflow"; | ||
pip3 install tensorflow; | ||
echo "Installing Theano"; | ||
pip3 install theano; | ||
pip3 install pillow; | ||
sudo apt-get -y install graphviz; | ||
pip3 install --upgrade graphviz; | ||
pip3 install pydot; | ||
pip3 install nose; | ||
echo "Installing Keras from source"; | ||
pip3 install -e .[visualize,tests]; | ||
|
||
build: | ||
commands: | ||
echo "Running PEP tests"; | ||
py.test --pep8 -m pep8 -n0; | ||
echo "Running Keras Unit Tests and Integration Tests for all the backends"; | ||
python3 -m pytest tests/; |
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,32 @@ | ||
version: 0.2 | ||
|
||
phases: | ||
install: | ||
commands: | ||
echo $CODEBUILD_SOURCE_VERSION; | ||
PRID=$(echo $CODEBUILD_SOURCE_VERSION | sed "s/pr/pull/g"); | ||
echo "Checking out $PRID"; | ||
git fetch origin $PRID/head:pr_test; | ||
git checkout pr_test; | ||
echo "Installing MXNet"; | ||
apt-get update; | ||
sudo apt install -y python3-pip; | ||
pip3 install mxnet --pre; | ||
echo "Installing Tensorflow"; | ||
pip3 install tensorflow; | ||
echo "Installing Theano"; | ||
pip3 install theano; | ||
pip3 install pillow; | ||
sudo apt-get -y install graphviz; | ||
pip3 install --upgrade graphviz; | ||
pip3 install pydot; | ||
pip3 install nose; | ||
echo "Installing Keras from source"; | ||
pip3 install -e .[visualize,tests]; | ||
|
||
build: | ||
commands: | ||
echo "Running PEP tests"; | ||
py.test --pep8 -m pep8 -n0; | ||
echo "Running Keras Unit Tests and Integration Tests for all the backends"; | ||
python3 -m pytest tests/; |