forked from conda-forge/staged-recipes
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
45 lines (35 loc) · 4.83 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# The language in this case has no bearing - we are going to be making use of conda.
language: generic
jobs:
include:
- if: (fork IN (true)) OR (type IN (pull_request))
os: osx
osx_image: xcode6.4
- if: (fork IN (false)) AND (NOT (type IN (pull_request)))
os: linux
sudo: false
sudo: false
env:
global:
# Add the BINSTAR_TOKEN environment variable. This has been generated with "" then "travis encrypt BINSTAR_TOKEN=<token_id>"
- secure: "Z4k78LYglt90NV2lRN5kG3CBgCDqEMO/3i0l8NZWDWXNeXICdLx0FmXK3HBUwtJWSVIhgyX2LLsYBEOKQqyZYA/K9wtBdQp3gqo9CWxZwy3kP1yLSUeOzkcxebNY8oRjpclxgtp10VbgLpX6TxOucagI8K+hqEPIFUNsUEetF/ORhg73X7rjP3aBtrVmtzrmLPhwAOAOThG8kAbBHe/MPWXw8vBi9wxxS70upNACE0AwcPP1Mwec+3P7z5EmETlg+8TKi9qbwHwK3vxm42WiRrLQorHCwT7ejL5pgf2KagkgwqRJjE+EZO3cN+a14kd5QN0OPS6eoA79WWte449OFElN3op69n3R8wrwIlnW/QH83va0ArvlgI7bQ4+IRIzCLAKf2f3cQEaLUURYprxQFR7pnHNXvrxnXEVmhqGed2zdyZt6/oIEjobw95LOkcXdrWjdfjfsfeXEPDKA2VBx1ilbt9GJ4NjoY89Rl0luUuVyAMlqFA4Y9U99ObiCUHAO8nqnU6s9vOIskDBEAJNNkz82Wg81aJhwhKYBt+JDQTcfdOfoGpGfvwRr8a7eHi7owYt8r5g7zghK4xQkQa2blnoThDcUj7R91kfm2PiHUg3Q1c6BUvswQZxU4garc0Q90eXCuuP6dQicra0fcZNogFvbyh6pAUR7fd31YoEOv0k="
# Add the GH_TOKEN environment variable. (This is the "conda-forge.github.io" token for the conda-forge-manager user.)
- secure: "jTkMkCmdeSyrspb3aBl86xSgufeMMZwId5DOie/KgnjRKL+Qx1hskTp427RK/cvo1gvraBV2bulz6qkXjA7dYmouVbj9RhLa6MuTiUpOoPoP3fKdSeY9b7qsG4o/XiW2l0ED3Iwv5+ygcSEZ7QQjYnAUakzpplY9KE6t1YyLQ0TFojM4CLdhXSoCgsLcI6fDL4+3VrHWHJY8z/seCAxK+GJBs6ZrtqbQJXke5gTty2e1CBAy4zZw53w+Cj10QKMCbsLOuflXtT9TWyPdiK+whv9fNH7NCbfEELTYmm4f1yacdm11V//RzTsX3aU4QuKlEGrIoTN64ym0Kkqtcu63Pa69svpw2k06eV2w0sAFBaeK5/JVdwV/ZC7fnS79bPSDHwg8wqxT54F5fS2TN+H3XI1lMFBB3SiY/N0U+FsyfK7DIO0To5Q6QSNNDN+KxswRMyQitAW1kkGWvePDH2o0AXgfvYLK+09COU7xbSzvGo4Mrxft7mbpWdVJSw4j9wa03s9lrsVZmGges9oh/i1kiEtiEmNMPFFrmY0IXZdAIUi+rT8jOQGLrS7YbjhRQxJMtCbt9nULAm8zq7VYCA8IP6W43wzZVcY5qYn9f2n8JiBlNZT4yJbsOOcrwtMUiBVNnn9xjki7gqAsed7H4xX6FtcgHmuDI8JJ5OxsVugl+1Q="
# Add the CIRCLE_TOKEN environment variable. (This will need re-generating in the near future using the conda-forge-admin user)
- secure: "XL4LyXKdyrKDGLj5LbWyoZij3+p4qsxR8kRZyHaaDhes7QipDGTVgUVylFagsC0sdY8Osi19pY2oZnzDwfkO66lL0cswRUfjIs7XHDv7jMX3aIL1awykkp2YWJvUtqw2yY58nRRcAoWXWuaIKa7gjBm8b2Rnx60GWwudEqzCsNjq29uePYHQyRSwHbK99mliwVz7TLt994S41TJzAp+expRvBO/bvBnDvDK1ZAm0P6v5HSCJJt8or+PmP5Au8LuEIIZbKM2KmQeaWqkYz09f4NWuA/lVqaQucv+eR/46QXWhLyp4pC56xeD/oTfi48u4skjLlRamtLKQ3YspL7fuKYtV+EGKwY/xAUyeLei10kE2OaBr66S+OhUkQYSgkeqdJuvKznImqCF4CGYyoOmdqqDy8lXVi2VcTqzHT8UxdVpc6CPiifczIAii34qdbpcUQRFnYm+5tWBQ8F1swM5ZihIE7t9wl3eoHjNxTFxF65DlNoUkHUfWb08luof83kNQapI9P8oplmrw46MAQFbd54NPbRruExvimCQm3FXbrWi0vLUzNcEn7QIautZJMpW8MKkQZBzlIpkH9P2THZcqvoJLx2uuKaF982vYnrgqgegxzIw10MIUUsTXF3jXdLPh9yo/4ewvK3G9SmJaidUmyoAPJrbej9Y25nMYYzOFDxo="
# Add the APPVEYOR_TOKEN environment variable for the "conda-forge" AppVeyor user.
- secure: "GROiBt5zib8ZYg2CqLJMdfIRgFxqYX7rPbzedtHU7L+YTEsacj/HbbzEwWVysMwDoMs5MWGlOoK6c0yCZEVrD5WisE2PN3xLTNzJkNSqPyHH4SLY3+LgVo6416sP3kNh3xftmeyY5pWSX3WhFLaI+BdPZNSYSatfcQcqsJRn3KHeWaDwUFjYxhJ4jVsZB+ELFQAlLU3gpC5yCKXOaB9BMwLSJai8a9BGpfSFjkOzr9RgeAdaZutHYEmmHpv91sjtS/GC9Jw6991L/58KWHqe+NxURg3HIziYWoZxYiRFojN4A9Bn+n4FbzWOA/ELOG+D95P9JeYpq+IS3g0j2a14J9UQK7sz6Rqa/niO7pkYBPn1Wp+rOyaw1Ietmcnu3OzK6cD8BBQH0D/4IRxNDgBKf3oUyt2fVAqgpm6LQ//yUaD7alvj7Z0oaGC1MQwooiF/3Bz6fcxE+dmIECVsDFrJ2+sBad3gm2fuHP0Ng33ZyoIn0ehu2Byrc0FB6/lXYUmIDxEhpQQDL0Qs6IBQV5uXolPrDZAhOlhzLg4OFvDABkUFehwroHJSRRjtSU8Ok0GAiiaInteMatTvmoyPYJ8TM+fElOqXnZU07UlZ4cqCM1v2MyZE4JOW0gR6lBm7XjbI1jbo2Etf+CQMYCf6f2HcnTBAHhvBIxJWaJRAWYVnq0c="
# Add the TRAVIS_TOKEN environment variable for the "conda-forge" Travis user.
- secure: "BBJrw5OcEG4zEUxjXt2txNoz+o7ilTb0e8Tj1626USKqi6HAWOdSFHW7PLYR6vyefWsHnGLAeYMRr9UB56O2oDwS7jgClBKbyut2+Q+8SQBwEtNCMHdU996IzSuDP4AM3h7DLjTsuinWhwpqLu72z2ZjE9OMz4q03SyyiBOecWU1btYbp/u3bpNzyhb2u0HMkRUnS8MxPUa8aHZBKp/JpLrGQmIT0LcjLNp4/jTZp+cs+J//02hAhJHV3vMmyefVvRZayu3xKzutpb3qIga0JAP3d0j2FWXRHVTW6Ke5H4u/4NU7iTpdRjpymnzH7H2kfOrNzgCJ23NfNhScDJDc5URvdXlstgkC4lDkd7BbSVgKKaVy2vVcMkz98qbBnhi0akMHNZXPLvT9tec9AsAX5/pdNaa1rH/iRhjWRfTCnqODX+RTwMhA1/3rkmhzI/8JFCcaZet8+lA2LtOf95jGmwcRwPlNFX0Jdd1QBk2nUAUpCePWIdg7GRxYuO7a4QCbhc6bSyB/WrCQZ1oEmtwGSRqxpMKvQmjxJObg40MgP0DaquGov30A4QLoEdvXCnM7w3QyIr5L/BrLlnCy8LesAZIBn2l5LAHrBFGh9t/lCK9APlUjD9dgT6eCYOSbfdBghKCGsajAsM/fwsPvcjOmpFCLf+UZTer36B57ccHrYdU="
script:
- if [ -n "$GH_TOKEN" ]; then
echo "Creating feedstocks from the recipe(s).";
git config --global user.name "Travis-CI on github.com/conda-forge/staged-recipes";
git config --global user.email "[email protected]";
source ./.CI/create_feedstocks || {
python .CI/trigger_travis_build.py "conda-forge/staged-recipes"; exit 1;
};
else
echo "Building all recipes.";
source ./.CI/build_all;
fi