Skip to content

Commit 5c698ce

Browse files
committed
repair travis workflow and remove byron from exported artifacts
1 parent aab4ddf commit 5c698ce

File tree

1 file changed

+15
-46
lines changed

1 file changed

+15
-46
lines changed

.travis.yml

Lines changed: 15 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -50,81 +50,55 @@ jobs:
5050
name: "Executables"
5151
script:
5252
############################
53-
# cardano-wallet-shelley
53+
# cardano-node
5454
############################
5555

5656
# Fetch the linux archive
5757
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-shelley-linux64/latest/download/1 | tar xz
5858
- find . -maxdepth 1 -type d -name "cardano-wallet-shelley-*" -exec mv \{} cardano-wallet-shelley-linux64 \;
5959
- mv cardano-wallet-shelley-linux64/cardano-wallet-shelley cardano-wallet-shelley-linux64/cardano-wallet
60-
- tar czf cardano-wallet-shelley-$TRAVIS_TAG-linux64.tar.gz cardano-wallet-shelley-linux64
61-
- rm -r cardano-wallet-shelley-linux64
60+
- tar czf cardano-wallet-$TRAVIS_TAG-linux64.tar.gz cardano-wallet-shelley-linux64
61+
- rm -rf cardano-wallet-shelley-linux64
6262

6363
# Fetch the MacOS archive
6464
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-shelley-macos64/latest/download/1 | tar xz
6565
- find . -maxdepth 1 -type d -name "cardano-wallet-shelley-*" -exec mv \{} cardano-wallet-shelley-macos64 \;
6666
- mv cardano-wallet-shelley-macos64/cardano-wallet-shelley cardano-wallet-shelley-macos64/cardano-wallet
67-
- tar czf cardano-wallet-shelley-$TRAVIS_TAG-macos64.tar.gz cardano-wallet-shelley-macos64
68-
- rm -r cardano-wallet-shelley-macos64
67+
- tar czf cardano-wallet-$TRAVIS_TAG-macos64.tar.gz cardano-wallet-shelley-macos64
68+
- rm -rf cardano-wallet-shelley-macos64
6969

7070
# Fetch the Windows archive
7171
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-shelley-win64/latest/download/1 --output cardano-wallet-shelley-win64.zip
7272
- unzip -d cardano-wallet-shelley-win64 cardano-wallet-shelley-win64.zip
7373
- mv cardano-wallet-shelley-win64/cardano-wallet-shelley.exe cardano-wallet-shelley-win64/cardano-wallet.exe
74-
- zip -r cardano-wallet-shelley-$TRAVIS_TAG-win64.zip cardano-wallet-shelley-win64
75-
- rm -r cardano-wallet-shelley-win64
74+
- zip -r cardano-wallet-$TRAVIS_TAG-win64.zip cardano-wallet-shelley-win64
75+
- rm -rf cardano-wallet-shelley-win64
7676
- rm cardano-wallet-shelley-win64.zip
7777

7878
############################
79-
# cardano-wallet-byron
80-
############################
81-
82-
# Fetch the linux archive
83-
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-byron-linux64/latest/download/1 | tar xz
84-
- find . -maxdepth 1 -type d -name "cardano-wallet-byron-*" -exec mv \{} cardano-wallet-byron-linux64 \;
85-
- mv cardano-wallet-byron-linux64/cardano-wallet-byron cardano-wallet-byron-linux64/cardano-wallet
86-
- tar czf cardano-wallet-byron-$TRAVIS_TAG-linux64.tar.gz cardano-wallet-byron-linux64
87-
- rm -r cardano-wallet-byron-linux64
88-
89-
# Fetch the MacOS archive
90-
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-byron-macos64/latest/download/1 | tar xz
91-
- find . -maxdepth 1 -type d -name "cardano-wallet-byron-*" -exec mv \{} cardano-wallet-byron-macos64 \;
92-
- mv cardano-wallet-byron-macos64/cardano-wallet-byron cardano-wallet-byron-macos64/cardano-wallet
93-
- tar czf cardano-wallet-byron-$TRAVIS_TAG-macos64.tar.gz cardano-wallet-byron-macos64
94-
- rm -r cardano-wallet-byron-macos64
95-
96-
# Fetch the Windows archive
97-
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-byron-win64/latest/download/1 --output cardano-wallet-byron-win64.zip
98-
- unzip -d cardano-wallet-byron-win64 cardano-wallet-byron-win64.zip
99-
- mv cardano-wallet-byron-win64/cardano-wallet-byron.exe cardano-wallet-byron-win64/cardano-wallet.exe
100-
- zip -r cardano-wallet-byron-$TRAVIS_TAG-win64.zip cardano-wallet-byron-win64
101-
- rm -r cardano-wallet-byron-win64
102-
- rm cardano-wallet-byron-win64.zip
103-
104-
############################
105-
# cardano-wallet-jormungandr
79+
# jörmungandr
10680
############################
10781

10882
# Fetch the linux archive
10983
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-jormungandr-linux64/latest/download/1 | tar xz
11084
- find . -maxdepth 1 -type d -name "cardano-wallet-jormungandr-*" -exec mv \{} cardano-wallet-jormungandr-linux64 \;
11185
- mv cardano-wallet-jormungandr-linux64/cardano-wallet-jormungandr cardano-wallet-jormungandr-linux64/cardano-wallet
11286
- tar czf cardano-wallet-itn-$TRAVIS_TAG-linux64.tar.gz cardano-wallet-jormungandr-linux64
113-
- rm -r cardano-wallet-jormungandr-linux64
87+
- rm -rf cardano-wallet-jormungandr-linux64
11488

11589
# Fetch the MacOS archive
11690
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-jormungandr-macos64/latest/download/1 | tar xz
11791
- find . -maxdepth 1 -type d -name "cardano-wallet-jormungandr-*" -exec mv \{} cardano-wallet-jormungandr-macos64 \;
11892
- mv cardano-wallet-jormungandr-macos64/cardano-wallet-jormungandr cardano-wallet-jormungandr-macos64/cardano-wallet
11993
- tar czf cardano-wallet-itn-$TRAVIS_TAG-macos64.tar.gz cardano-wallet-jormungandr-macos64
120-
- rm -r cardano-wallet-jormungandr-macos64
94+
- rm -rf cardano-wallet-jormungandr-macos64
12195

12296
# Fetch the Windows archive
12397
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-jormungandr-win64/latest/download/1 --output cardano-wallet-jormungandr-win64.zip
12498
- unzip -d cardano-wallet-jormungandr-win64 cardano-wallet-jormungandr-win64.zip
12599
- mv cardano-wallet-jormungandr-win64/cardano-wallet-jormungandr.exe cardano-wallet-jormungandr-win64/cardano-wallet.exe
126100
- zip -r cardano-wallet-itn-$TRAVIS_TAG-win64.zip cardano-wallet-jormungandr-win64
127-
- rm -r cardano-wallet-jormungandr-win64
101+
- rm -rf cardano-wallet-jormungandr-win64
128102
- rm cardano-wallet-jormungandr-win64.zip
129103

130104
# Deploy documentation snapshot
@@ -141,15 +115,10 @@ jobs:
141115
draft: true # Allow editing the release before publishing it officially on GitHub
142116
skip_cleanup: true # Make sure that files from the previous stages aren't cleaned up
143117
file:
144-
# cardano-node / Byron
145-
- cardano-wallet-byron-$TRAVIS_TAG-linux64.tar.gz
146-
- cardano-wallet-byron-$TRAVIS_TAG-macos64.tar.gz
147-
- cardano-wallet-byron-$TRAVIS_TAG-win64.zip
148-
149-
# cardano-node / Shelley
150-
- cardano-wallet-shelley-$TRAVIS_TAG-linux64.tar.gz
151-
- cardano-wallet-shelley-$TRAVIS_TAG-macos64.tar.gz
152-
- cardano-wallet-shelley-$TRAVIS_TAG-win64.zip
118+
# cardano-node
119+
- cardano-wallet-$TRAVIS_TAG-linux64.tar.gz
120+
- cardano-wallet-$TRAVIS_TAG-macos64.tar.gz
121+
- cardano-wallet-$TRAVIS_TAG-win64.zip
153122

154123
# Jörmungandr / ITN
155124
- cardano-wallet-itn-$TRAVIS_TAG-linux64.tar.gz

0 commit comments

Comments
 (0)