@@ -12,14 +12,14 @@ stages:
1212
1313jobs :
1414 include :
15- # PRs, pushes to master , and tags build on all target arches
15+ # PRs, pushes to main , and tags build on all target arches
1616 # if this is release tag, the resultant binary will be uploaded to github
1717 - name : " Linux - Node 10 - glibc"
1818 os : linux
1919 env :
2020 - TRAVIS_NODE_VERSION="10"
2121 - SKIP_DEPLOY=0
22- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
22+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
2323 - name : " Linux - Node 10 - musl"
2424 os : linux
2525 env :
@@ -29,54 +29,54 @@ jobs:
2929 # Ref: https://github.com/nodejs/docker-node/issues/1158
3030 - IMAGE=10-alpine3.9
3131 - INDOCKER="docker exec target"
32- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
32+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
3333 - name : " OSX - Node 10"
3434 os : osx
3535 env :
3636 - TRAVIS_NODE_VERSION="10"
3737 - SKIP_DEPLOY=0
38- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
38+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
3939 - name : " Linux - Node 12 - glibc"
4040 os : linux
4141 env :
4242 - TRAVIS_NODE_VERSION="12"
4343 - SKIP_DEPLOY=0
44- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
44+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
4545 - name : " Linux - Node 12 - musl"
4646 os : linux
4747 env :
4848 - SKIP_DEPLOY=0
4949 - IMAGE=12-alpine
5050 - INDOCKER="docker exec target"
51- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
51+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
5252 - name : " OSX - Node 12"
5353 os : osx
5454 env :
5555 - TRAVIS_NODE_VERSION="12"
5656 - SKIP_DEPLOY=0
57- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
57+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
5858 - name : " Windows - Node 10"
5959 os : windows
6060 env :
6161 # Stop Windows builds from hanging after completion https://travis-ci.community/t/timeout-after-build-finished-and-succeeded/1336
6262 - YARN_GPG=no
6363 - TRAVIS_NODE_VERSION="10"
6464 - SKIP_DEPLOY=0
65- install :
65+ install :
6666 - rustup target add x86_64-pc-windows-msvc
6767 - source .travis_scripts/maybe-install-node.sh
68- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
68+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
6969 - name : " Windows - Node 12"
7070 os : windows
7171 env :
7272 # Stop Windows builds from hanging after completion https://travis-ci.community/t/timeout-after-build-finished-and-succeeded/1336
7373 - YARN_GPG=no
7474 - TRAVIS_NODE_VERSION="12"
7575 - SKIP_DEPLOY=0
76- install :
76+ install :
7777 - rustup target add x86_64-pc-windows-msvc
7878 - source .travis_scripts/maybe-install-node.sh
79- if : tag =~ /^\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
79+ if : tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
8080 # Publish to npm only on release tag
8181 - stage : publish
8282 name : " Publish to npm"
0 commit comments