summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cirrus.yml38
-rw-r--r--.travis.yml48
-rw-r--r--README.md2
-rw-r--r--rebar.config2
-rw-r--r--rebar.lock4
5 files changed, 42 insertions, 52 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 7b50d62..d113248 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,4 +1,5 @@
test_task:
+ use_compute_credits: true
container:
matrix:
- image: erlang:22
@@ -18,6 +19,43 @@ osx_test_task:
./bootstrap
./rebar3 ct
+nightly_task:
+ container:
+ image: erlang:18
+ depends_on:
+ - test
+ only_if: $BRANCH == "master"
+ script: |
+ apt install s3cmd
+ ./bootstrap
+ s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3-nightly
+ environment:
+ ACCESS_KEY: ENCRYPTED[86c639224b3cfc11ae5dbd48b13de5ff77dd5c75f1bf1808ddbbb5bc60049f16885b4e2e3a7981376cac562f7a2d176b]
+ SECRET_KEY: ENCRYPTED[189c3b982c2f846193bb34c3de86e0172b8a4c793699f64dc95bb9a1e6bbe83c252c77d37ea1503928aa9b41a3652ca3]
+
+release_task:
+ container:
+ image: erlang:18
+ depends_on:
+ - test
+ only_if: $CIRRUS_RELEASE != ""
+ script: |
+ apt install s3cmd
+ ./bootstrap
+ s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3
+
+ url_to_upload="https://uploads.github.com/repos/$CIRRUS_REPO_FULL_NAME/releases/$CIRRUS_RELEASE/assets?name=rebar3"
+ curl -X POST \
+ --data-binary @rebar3 \
+ --header "Authorization: token $GITHUB_TOKEN" \
+ --header "Content-Type: application/octet-stream" \
+ $url_to_upload
+ environment:
+ ACCESS_KEY: ENCRYPTED[86c639224b3cfc11ae5dbd48b13de5ff77dd5c75f1bf1808ddbbb5bc60049f16885b4e2e3a7981376cac562f7a2d176b]
+ SECRET_KEY: ENCRYPTED[189c3b982c2f846193bb34c3de86e0172b8a4c793699f64dc95bb9a1e6bbe83c252c77d37ea1503928aa9b41a3652ca3]
+ GITUB_TOKEN: ENCRYPTED[ff884c4b0a4f2833b6c22c1fd6398879d58634d0f521e7efbd33f045fb785417f24da953cfbdaee563698501691e5970]
+
+
# Windows CI appears broken for now and never passes
#windows_test_task:
# windows_container:
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 2833f6d..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-language: erlang
-matrix:
- include:
- - os: linux
- otp_release: 18.3
- - os: linux
- otp_release: 19.3
- - os: linux
- otp_release: 20.0
- - os: linux
- otp_release: 21.0
- - os: linux
- otp_release: 22.0
- - os: osx
- language: generic
-before_script:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- ## should eventually use a tap that has previous erlang versions here
- ## as this only uses the latest erlang available via brew
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install erlang; fi
-script: "./bootstrap && ./rebar3 ct"
-branches:
- only:
- - master
- - hex_core
-cache:
- directories:
- - "$HOME/.cache/rebar3/hex/default"
-deploy:
- - provider: releases
- api_key:
- secure: MjloYuaQF3cd3Oab57zqwPDLPqt5MDgBIrRLpXOQwNovr2tnkKd4aJK3QJ3pTxvZievjgl+qIYI1IZyjuRV37nkjAfMw14iig959wi0k8XTJoMdylVxE5X7hk4SiWhX/ycnJx3C28PPw1OitGTF76HAJDMgEelNdoNt+hvjvDEo=
- file: rebar3
- on:
- repo: erlang/rebar3
- tags: true
- - provider: s3
- access_key_id: AKIAJAPYAQEFYCYSNL7Q
- secret_access_key:
- secure: "BUv2KQABv0Q4e8DAVNBRTc/lXHWt27yCN46Fdgo1IrcSSIiP+hq2yXzQcXLbPwkEu6pxUZQtL3mvKbt6l7uw3wFrcRfFAi1PGTITAW8MTmxtwcZIBcHSk3XOzDbkK+fYYcaddszmt7hDzzEFPtmYXiNgnaMIVeynhQLgcCcIRRQ="
- skip_cleanup: true
- local-dir: _build/prod/bin
- bucket: "rebar3-nightly"
- acl: public_read
- on:
- repo: erlang/rebar3
- branch: master
- condition: $TRAVIS_OTP_RELEASE = "17.5"
diff --git a/README.md b/README.md
index 4180a92..8a2168d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Rebar3
-[![Build Status](https://travis-ci.org/erlang/rebar3.svg?branch=master)](https://travis-ci.org/erlang/rebar3) [![Windows build status](https://ci.appveyor.com/api/projects/status/yx4oitd9pvd2kab3?svg=true)](https://ci.appveyor.com/project/TristanSloughter/rebar3)
+[![Build Status](https://api.cirrus-ci.com/github/erlang/rebar3.svg)](https://cirrus-ci.com/github/erlang/rebar3) [![Windows build status](https://ci.appveyor.com/api/projects/status/yx4oitd9pvd2kab3?svg=true)](https://ci.appveyor.com/project/TristanSloughter/rebar3)
1. [What is Rebar3?](#what-is-rebar3)
2. [Why Rebar3?](#why-rebar3)
diff --git a/rebar.config b/rebar.config
index 3bc5ae9..59f57e9 100644
--- a/rebar.config
+++ b/rebar.config
@@ -8,7 +8,7 @@
{providers, "1.7.0"},
{getopt, "1.0.1"},
{bbmustache, "1.6.1"},
- {relx, "3.31.0"},
+ {relx, "3.32.0"},
{cf, "0.2.2"},
{cth_readable, "1.4.4"},
{eunit_formatters, "0.5.0"}]}.
diff --git a/rebar.lock b/rebar.lock
index 4bcb526..6da9fc9 100644
--- a/rebar.lock
+++ b/rebar.lock
@@ -8,7 +8,7 @@
{<<"getopt">>,{pkg,<<"getopt">>,<<"1.0.1">>},0},
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.3.0">>},0},
{<<"providers">>,{pkg,<<"providers">>,<<"1.7.0">>},0},
- {<<"relx">>,{pkg,<<"relx">>,<<"3.31.0">>},0},
+ {<<"relx">>,{pkg,<<"relx">>,<<"3.32.0">>},0},
{<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.4">>},0}]}.
[
{pkg_hash,[
@@ -21,6 +21,6 @@
{<<"getopt">>, <<"C73A9FA687B217F2FF79F68A3B637711BB1936E712B521D8CE466B29CBF7808A">>},
{<<"parse_trans">>, <<"09765507A3C7590A784615CFD421D101AEC25098D50B89D7AA1D66646BC571C1">>},
{<<"providers">>, <<"BBF730563914328EC2511D205E6477A94831DB7297DE313B3872A2B26C562EAB">>},
- {<<"relx">>, <<"7EBA13DFFC4EEA9FBFAE2B42B739AFDE268E07C3EE7207872CD74782A4913455">>},
+ {<<"relx">>, <<"AE6C9FD6AB5ECFC031E7E7B45BB103CCBBE58C892BD1CDC87DDD38068F6FA733">>},
{<<"ssl_verify_fun">>, <<"F0EAFFF810D2041E93F915EF59899C923F4568F4585904D010387ED74988E77B">>}]}
].