Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis-ci: The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. #3616

Closed
zaoqi opened this issue Aug 29, 2019 · 0 comments

Comments

@zaoqi
Copy link

zaoqi commented Aug 29, 2019

.travis.yml

language: c
matrix:
  include:
    - os: windows
      install:
        - powershell "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"
        - powershell "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')"
        - export PATH="$PATH:"~/scoop/shims/
        - scoop install make nodejs yarn
    - os: osx
      osx_image: xcode10.3
      addons:
        homebrew:
          packages:
            - make
            - nodejs
            - npm
            - yarn
    - os: linux
      dist: bionic
      sudo: required
      addons:
        apt:
          sources:
            - sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
              key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
          packages:
            - make
            - nodejs
            - npm
            - yarn
script:
  - make all
  - make test

log

$ scoop install make nodejs yarn
Installing 'make' (4.2.1) [64bit]
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\travis\scoop\apps\scoop\current\lib\core.ps1:802 char:21
+     $last_update = (scoop config lastupdate)
+                     ~~~~~
    + CategoryInfo          : ObjectNotFound: (scoop:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\travis\scoop\apps\scoop\current\lib\core.ps1:818 char:9
+         scoop config lastupdate $now.ToString('o')
+         ~~~~~
    + CategoryInfo          : ObjectNotFound: (scoop:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\travis\scoop\apps\scoop\current\libexec\scoop-install.ps1:71 char:5
+     scoop update
+     ~~~~~
    + CategoryInfo          : ObjectNotFound: (scoop:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Downloading https://downloads.sourceforge.net/project/ezwinports/make-4.2.1-without-guile-w32-bin.zip (336.5 KB)...
Checking hash of make-4.2.1-without-guile-w32-bin.zip ... ok.
Extracting make-4.2.1-without-guile-w32-bin.zip ... done.
Linking ~\scoop\apps\make\current => ~\scoop\apps\make\4.2.1
Creating shim for 'make'.
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants