doc, docker: Pin coincurve src to tag.
This commit is contained in:
		
							parent
							
								
									3976b9c203
								
							
						
					
					
						commit
						43048cffc0
					
				@ -24,8 +24,9 @@ test_task:
 | 
				
			|||||||
    - apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config
 | 
					    - apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config
 | 
				
			||||||
    - pip install tox pytest
 | 
					    - pip install tox pytest
 | 
				
			||||||
    - python3 setup.py install
 | 
					    - python3 setup.py install
 | 
				
			||||||
    - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip
 | 
					    - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
				
			||||||
    - unzip coincurve-anonswap.zip
 | 
					    - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
 | 
					    - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
    - cd coincurve-anonswap
 | 
					    - cd coincurve-anonswap
 | 
				
			||||||
    - python3 setup.py install --force
 | 
					    - python3 setup.py install --force
 | 
				
			||||||
  bins_cache:
 | 
					  bins_cache:
 | 
				
			||||||
 | 
				
			|||||||
@ -22,8 +22,9 @@ before_install:
 | 
				
			|||||||
install:
 | 
					install:
 | 
				
			||||||
  - travis_retry pip install tox pytest
 | 
					  - travis_retry pip install tox pytest
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip
 | 
					  - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
				
			||||||
  - unzip coincurve-anonswap.zip
 | 
					  - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
 | 
					  - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
  - cd coincurve-anonswap
 | 
					  - cd coincurve-anonswap
 | 
				
			||||||
  - python3 setup.py install --force
 | 
					  - python3 setup.py install --force
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
 | 
				
			|||||||
@ -15,8 +15,9 @@ RUN wget -O protobuf_src.tar.gz https://github.com/protocolbuffers/protobuf/rele
 | 
				
			|||||||
    make install && \
 | 
					    make install && \
 | 
				
			||||||
    ldconfig
 | 
					    ldconfig
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip && \
 | 
					RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip && \
 | 
				
			||||||
    unzip coincurve-anonswap.zip && \
 | 
					    unzip -d coincurve-anonswap coincurve-anonswap.zip && \
 | 
				
			||||||
 | 
					    mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true && \
 | 
				
			||||||
    cd coincurve-anonswap && \
 | 
					    cd coincurve-anonswap && \
 | 
				
			||||||
    python3 setup.py install --force
 | 
					    python3 setup.py install --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -152,8 +152,9 @@ Close the terminal and open a new one to update the python symlinks.
 | 
				
			|||||||
    python3 -m venv "$SWAP_DATADIR/venv"
 | 
					    python3 -m venv "$SWAP_DATADIR/venv"
 | 
				
			||||||
    . $SWAP_DATADIR/venv/bin/activate && python -V
 | 
					    . $SWAP_DATADIR/venv/bin/activate && python -V
 | 
				
			||||||
    cd $SWAP_DATADIR
 | 
					    cd $SWAP_DATADIR
 | 
				
			||||||
    wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip
 | 
					    wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
				
			||||||
    unzip coincurve-anonswap.zip
 | 
					    unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
 | 
					    mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
    cd $SWAP_DATADIR/coincurve-anonswap
 | 
					    cd $SWAP_DATADIR/coincurve-anonswap
 | 
				
			||||||
    pip3 install .
 | 
					    pip3 install .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -15,8 +15,9 @@ RUN wget -O protobuf_src.tar.gz https://github.com/protocolbuffers/protobuf/rele
 | 
				
			|||||||
    make install && \
 | 
					    make install && \
 | 
				
			||||||
    ldconfig
 | 
					    ldconfig
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip && \
 | 
					RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip && \
 | 
				
			||||||
    unzip coincurve-anonswap.zip && \
 | 
					    unzip -d coincurve-anonswap coincurve-anonswap.zip && \
 | 
				
			||||||
 | 
					    mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true && \
 | 
				
			||||||
    cd coincurve-anonswap && \
 | 
					    cd coincurve-anonswap && \
 | 
				
			||||||
    python3 setup.py install --force
 | 
					    python3 setup.py install --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user