From 95063dacde6e89b8fb92a62f37e32f92fa97a997 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 7 Aug 2018 12:53:00 -0400 Subject: [PATCH] learning more about travis --- .travis.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index e392744..d21193c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,18 +8,12 @@ language: go # development version of Go. This can warn you that your code will break # in the next version of Go. Don't worry! Later we declare that test runs # are allowed to fail on Go tip. -go: - - 1.10.2 - - master - -# Skip the install step. Don't `go get` dependencies. Only build with the -# code in vendor/ -install: true - matrix: include: - - go: 'master' - env: SKIP_DEPLOY=true # dont deploy tip build + - go: 1.10.2 + env: DEPLOY=true # dont deploy tip build + - go: master + env: DEPLOY=false # dont deploy tip build allow_failures: - go: master # Don't wait for tip tests to finish. Mark the test run green if the @@ -30,6 +24,10 @@ matrix: notifications: email: false +# Skip the install step. Don't `go get` dependencies. Only build with the +# code in vendor/ +install: true + # Anything in before_script that returns a nonzero exit code will # flunk the build and immediately stop. It's sorta like having # set -e enabled in bash. @@ -78,6 +76,6 @@ deploy: skip_cleanup: true on: tags: true - condition: "$SKIP_DEPLOY != true" + condition: "$DEPLOY = true" api_key: secure: "ibN+PQg84f0tgJLV3KaHjkHmgFNOPqBLIrSU42moen22xxT2VIn0j7DkFaLLts1fs/+/gxmrvhOQ0vUFJqmflZ3kCeyedP/CVgZz7D7HRVK0cYUMJ2F9VWMZAFIX6A67OUlypqZqzKAKrZHx3HXky6Z8NBU23JgWqDm8PcrbbgMLvB2lvWVASjJVKreaL9BOxFOOOrAj6xAIm9ogTOnFVI/AhufNOKOTZaiprcbqMngwHeaILbwEJVqv5P2YUurC6Sq+QaH26tX00DtsYOW+n8AA3Fe48+L6rqa6Q8ru+dhPuR/Apr2+DTZ+npzY8leV3A7mYUeLo4JLaEH6n1TLVt65cX7nuesS7KsSKBSxs7q7bsqeapDcMskZz5JR4EK4S96CuHZEnn6+efpH8IrxWpbeO3EibJfyT8tMJKw7Zym5mPr+sz6xSlVMoBVcCm+7z9e7Zcqukdvdy8jM7sGP9qusqEhpojh0o+gPgr9p13SfR+6OCpj9gwxPCnZO8RBfh1cbz9vFSVlDyUYcpI2CCCpPazA1glTsEDk+VtznnUMmWksXWfxBFV81jQB2SnoZKlnsiEuNMwhiMCMEkRFo74+AsUr2UjmKJ5KC8ACwsn475PoLZBh2J6fyXBHMdbrGfK+Zt5K2IHRRtDaZVT4eHqYzxh8KhalsuBNxCo3FygI=" \ No newline at end of file