Procházet zdrojové kódy

rvm only works with login shell

Logan Stucki před 9 roky
rodič
revize
cb10b94272
No account linked to committer's email
2 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 4
    0
      .travis.yml
  2. 1
    2
      bin/run-journey-test-from-ci.sh

+ 4
- 0
.travis.yml Zobrazit soubor

@@ -15,6 +15,10 @@ addons:
15 15
     packages:
16 16
       - tree
17 17
 
18
+before_install:
19
+  - rvm install 2.2.5
20
+  - rvm use 2.2.5
21
+
18 22
 # https://docs.travis-ci.com/user/customizing-the-build#Skipping-the-Installation-Step
19 23
 install: true  # if we don't skip install, ./gradlew assemble is invoked, but this task is not available.
20 24
 

+ 1
- 2
bin/run-journey-test-from-ci.sh Zobrazit soubor

@@ -7,8 +7,7 @@ modded_files=`echo $pr_files_json | bin/jq -r '.[].filename'`
7 7
 
8 8
 for file in $modded_files
9 9
   do if [[ $file == exercises* ]] || [[ $file == config.json ]]
10
-    then rvm install 2.2.5
11
-    rvm use 2.2.5
10
+    then
12 11
     for file2 in $modded_files
13 12
       do if [[ $file2 == exercises* ]]
14 13
         then modded_exercise=${file2#exercises/}