Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
update build spec
Browse files Browse the repository at this point in the history
  • Loading branch information
roywei committed Oct 9, 2018
1 parent e75b97f commit 2f05a6b
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ phases:
echo "Running PEP tests";
py.test --pep8 -m pep8 -n0;
echo "Running Keras Unit Tests and Integration Tests for all the backends";
py.test tests/;
python -m pytest tests/;
30 changes: 30 additions & 0 deletions keras_mxnet_ci/nightly-buildspec-python3.yml
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/;
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ phases:
echo "Running PEP tests";
py.test --pep8 -m pep8 -n0;
echo "Running Keras Unit Tests and Integration Tests for all the backends";
py.test tests/;
python -m pytest tests/;
32 changes: 32 additions & 0 deletions keras_mxnet_ci/pr-buildspec-python3.yml
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/;

0 comments on commit 2f05a6b

Please sign in to comment.