automation testing

This commit is contained in:
yhua 2016-06-07 12:27:21 +08:00
parent 00f69eb327
commit 83a88e5ec0

View File

@ -71,7 +71,7 @@ script:
# test for API
- #IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
- #echo $IP
- #docker login -u admin -p Harbor12345 $IP:80
- #docker login -u admin -p Harbor12345 $IP
- #./tests/testprepare.sh
- docker ps
- go test -v ./tests/apitests